Ejemplo n.º 1
0
 def __init__(self, port, backlog=4):
     """
     __init__(mfem::socketserver self, int port, int backlog=4) -> socketserver
     __init__(mfem::socketserver self, int port) -> socketserver
     """
     this = _socketstream.new_socketserver(port, backlog)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Ejemplo n.º 2
0
 def __init__(self, port, backlog=4):
     this = _socketstream.new_socketserver(port, backlog)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Ejemplo n.º 3
0
 def __init__(self, port, backlog=4):
     r"""__init__(socketserver self, int port, int backlog=4) -> socketserver"""
     _socketstream.socketserver_swiginit(
         self, _socketstream.new_socketserver(port, backlog))
Ejemplo n.º 4
0
 def __init__(self, port):
     this = _socketstream.new_socketserver(port)
     try:
         self.this.append(this)
     except Exception:
         self.this = this