| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
netshared.NetworkEndpoint --+
|
Client
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Class Variables | |
CONNECTED = 104
(Inherited from legume.udp.netshared.NetworkEndpoint)
|
|
CONNECTING = 103
(Inherited from legume.udp.netshared.NetworkEndpoint)
|
|
DISCONNECTED = 100
(Inherited from legume.udp.netshared.NetworkEndpoint)
|
|
ERRORED = 101
(Inherited from legume.udp.netshared.NetworkEndpoint)
|
|
LISTENING = 102
(Inherited from legume.udp.netshared.NetworkEndpoint)
|
|
MTU = 1400
(Inherited from legume.udp.netshared.NetworkEndpoint)
|
|
| Properties | |
|
connected Returns True if this endpoint's state is CONNECTED. |
|
|
disconnected Returns True if this endpoint's state is DISCONNECTED. |
|
|
errored Returns True if this endpoint's state is ERRORED. |
|
|
is_server Returns false. |
|
| latency | |
| OnConnectRequestRejected | |
| OnMessage | |
| OnConnectRequestAccepted | |
| OnError | |
| OnDisconnect | |
| socket (Inherited from legume.udp.netshared.NetworkEndpoint) | |
| state (Inherited from legume.udp.netshared.NetworkEndpoint) | |
| timeout (Inherited from legume.udp.netshared.NetworkEndpoint) | |
| Method Details |
Create a Client endpoint. A Client is initially in the closed state until a call to connect. A messages factory is required to assemble and disassemble messages for pushing down the intertubes to the server endpoint. If a message_factory is not explicitly specified then the global message_factory will be used.
|
Initiate a connection to the server at the specified address. This method will put the socket into the CONNECTING state. If a connection is already established a ClientError exception is raised.
|
|
|
|
| Property Details |
connectedReturns True if this endpoint's state is CONNECTED. |
disconnectedReturns True if this endpoint's state is DISCONNECTED. |
erroredReturns True if this endpoint's state is ERRORED. |
is_serverReturns false. |
latency |
OnConnectRequestRejected
|
OnMessage
|
OnConnectRequestAccepted
|
OnError
|
OnDisconnect
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Jul 04 00:49:03 2010 | http://epydoc.sourceforge.net |