Package pyre :: Package ipc :: Module PortServer :: Class PortServer
[show private | hide private]
[frames | no frames]

Type PortServer

object --+        
         |        
   Monitor --+    
             |    
   PortMonitor --+
                 |
    object --+   |
             |   |
        Server --+
                 |
                PortServer


Method Summary
  __init__(self)
  activate(self, onConnection, onTimeout, selector)
enter an infinite loop, calling the specified callbacks when appropriate
    Inherited from Server
  deactivate(self)
  selector(self)
  serve(self, timeout)
    Inherited from PortMonitor
  accept(self)
encapsulate accept calls on my socket
  install(self, port, host, maxPort, queueSize)
attempt to bind me to the specified port
    Inherited from Monitor
  close(self)
  fileno(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
    Inherited from Monitor
  port: my port number
  socket: my socket object

Class Variable Summary
    Inherited from Monitor
tuple __slots__ = ('_port', '_socket')

Method Details

activate(self, onConnection, onTimeout, selector=None)

enter an infinite loop, calling the specified callbacks when appropriate
Overrides:
pyre.ipc.Server.Server.activate

Generated by Epydoc 2.1 on Tue May 4 16:58:14 2004 http://epydoc.sf.net