mkRPG
 All Classes Namespaces Functions
Public Member Functions | Public Attributes
shared.network.NetworkClient Class Reference

List of all members.

Public Member Functions

def __init__
def askEntity
def connect
def run
def send
def sendEvent
def kill

Public Attributes

 handle
 pluginHandle
 writer

Detailed Description

This class manages the network activities of the client.
It allows the client to send messages (describing events) to the server.

Member Function Documentation

def shared.network.NetworkClient.askEntity (   self,
  ent 
)
Ask for an entity 
Main loop of the client's network task.  After connecting the socket
to the server, wait for orders and handle them immediately until
connection ends.
def shared.network.NetworkClient.sendEvent (   self,
  obj,
  event 
)
Send an event to the server in a formatted way, specifying the id
of the object to affect.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions