| Trees | Index | Help |
|
|---|
| Package svs_core :: Package network :: Module clientuser :: Class ScriptableClient |
|
Jellyable--+ |Serializable--+ |Referenceable--+ |GenericClient--+ | ScriptableClient
GameWorldClient,
GraphicalClient,
PlayerClient| Method Summary | |
|---|---|
__init__(self,
name,
passwd)
| |
Delete data from client-side cache. | |
Delete data held by server-side proxy. | |
Deposit data with server-side proxy. | |
Disconnect from server. | |
Get data from client-side cache. | |
Collect data from another client. | |
Gets list of clients in cluster group. | |
Start/stop listening to another client. | |
Turns log messages on and off. | |
Send information to listeners. | |
Gets profile for specified client. | |
Store data in client-side cache. | |
Disconnect from server and quit client application. | |
Collect data from server-side proxy. | |
Sends plain text message to other clients, used for chat. | |
Get list of script commands. | |
Handles result of sendCommandResult action. | |
Handles result of sendCommand action. | |
Displays command list. | |
Executes script command. | |
Handles command script from own interface. | |
Handles command sent from client proxy on server. | |
Handles command result sent from client proxy on server. | |
Returns result of script command. | |
Sends command to other network client. | |
Sends command to other network client. | |
Add delegate class for handling work tasks on client. | |
| Inherited from GenericClient | |
Places advert for services on server. | |
Received result of clearDepositedData from avatar. | |
Receives result of depositData from avatar. | |
Handles result of joinClusterGroup action. | |
Handles result of leaveCluster action. | |
Callback for notifyListeners method. | |
Received result of retrieveOwnData from avatar. | |
Empties cache of data deposits held by avatar. | |
Empties cache of data deposits held by client. | |
Connect to server. | |
Sends data packet to avatar on server where it is cached for other clients to collect. | |
Disconnect from cluster. | |
Handles error messages for client. | |
Retrieves data from specified source on cluster, and performs 'callback' on receipt. | |
Allows speacialised handling of labelled data. | |
Retrieves a list of all clients currently connected to cluster group. | |
Retrieves local data from cache. | |
Returns name of client. | |
Retrieves profile for specified client from server. | |
Handles receievd list of clients in group. | |
Receives result of getData from avatar. | |
Receives profile requested from other client. | |
Callback for listenTo method. | |
Callback for sendChatMessage method. | |
Receives result of sendData from avatar. | |
Receives result of sendDataResult from avatar. | |
Callback for listenTo method. | |
Callback for stopListeningTo method. | |
Callback for stopListeningTo method. | |
Handles data packet received from network. | |
Deals with received list of group members. | |
Responds notification of request for profile. | |
Performs actions in response to profile receievd from another client. | |
Called after a client has succesfully joined a cluster group. | |
Client attempts to join cluster group. | |
Client leaves cluster. | |
Handles log messages for client. | |
Forward data to listeners. | |
Handles error message sent from client proxy on server. | |
Retrieves profile for cleint | |
Responds to request for data from another client. | |
Receives notification packets from other clients to which this has registered as listener. | |
Receives name of other client that has requested this client's profile. | |
Receives chat message from other clients. | |
Handles data sent from client proxy on server. | |
Handles data sent, inside makeCommandResult, from client proxy on server. | |
Handles status message sent from client proxy on server. | |
Handles update sent from client proxy on server. | |
Called by server when connection made. | |
Collects previously deposited data packet from avatar. | |
Queries server for clients responding to specified command names. | |
Queries server for clients responding to specified method names. | |
Queries server for clients providing specified services. | |
Queries server for clients using specified services. | |
Generic handler for searching client profiles. | |
Sends chat message to other clients. | |
Sends data to another client. | |
Sends data to another client. | |
Sends HTTP request to specified URL. | |
Called by the server when it shuts down. | |
Register as listener with another client. | |
Register as listener to network processes. | |
Handles status messages for client. | |
De-register as listener with another client. | |
De-register as listener to network processes. | |
Stores local data in cache. | |
| Inherited from Referenceable | |
(internal) | |
A remote message has been received. | |
| Inherited from Serializable | |
Return an ID which uniquely represents this object for this process. | |
| Inherited from Jellyable | |
| |
| Instance Variable Summary | |
|---|---|
| Inherited from GenericClient | |
| object | avatar: proxy class for cluster supplied by server |
| string | clientName: name for client (uses class name as default) |
| string | clientPassword: password for client (uses class signature as default) |
| string | clusterGroupName: name of cluster group |
| dict | dataCache: store for temporary data |
| boolean | logging: flag to turn logging output on and off |
ClientProfile |
profile: client profile |
| object | worker: plugin class for handling specialised processes |
| Class Variable Summary | |
|---|---|
| Inherited from Referenceable | |
Implements |
__implemented__ = <implementedBy twisted.spread.flavors....
|
_implementsTuple |
__implements__ = (<MetaInterface twisted.spread.interfac...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
NoneType |
perspective = None |
| Inherited from Jellyable | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
| Method Details |
|---|
cmdprivate_clear(self, cmd)Delete data from client-side cache. |
cmdprivate_cleardeposit(self, cmd)Delete data held by server-side proxy. |
cmdprivate_deposit(self, cmd)Deposit data with server-side proxy. |
cmdprivate_disconnect(self, cmd)Disconnect from server. |
cmdprivate_get(self, cmd)Get data from client-side cache. |
cmdprivate_getfrom(self, cmd)Collect data from another client. |
cmdprivate_grouplist(self, cmd)Gets list of clients in cluster group. |
cmdprivate_listen(self, cmd)Start/stop listening to another client. |
cmdprivate_logging(self, cmd)Turns log messages on and off. |
cmdprivate_notify(self, cmd)Send information to listeners. |
cmdprivate_profile(self, cmd)Gets profile for specified client. |
cmdprivate_put(self, cmd)Store data in client-side cache. |
cmdprivate_quit(self, cmd)Disconnect from server and quit client application. |
cmdprivate_retrieve(self, cmd)Collect data from server-side proxy. |
cmdprivate_tell(self, cmd)Sends plain text message to other clients, used for chat. |
cmdpublic_commands(self, cmd)Get list of script commands. |
commandResultSent(self, result)Handles result ofsendCommandResult action.
|
commandSent(self, result)Handles result ofsendCommand action.
|
displayCommandList(self, listData)Displays command list. Can be overridden bu GraphicalClients. |
execute(self, commandText, sender=None)Executes script command. |
handleLocalCommand(self, inputText)Handles command script from own interface. |
remote_receiveCommand(self, cmd)Handles command sent from client proxy on server.
|
remote_receiveCommandResult(self, cmdResult)Handles command result sent from client proxy on server.
|
returnCommandResult(self, cmdResult)Returns result of script command. |
sendCommand(self, cmd)Sends command to other network client. |
sendCommandResult(self, cmdResult)Sends command to other network client. |
setWorker(self, worker)Add delegate class for handling work tasks on client. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 | http://epydoc.sf.net |