Proxy class useful to simplify the client interaction with a SAMP
Hub.
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
boolean
|
isConnected(self)
Testing method to verify the proxy connection with a running Hub. |
|
|
|
connect(self,
hub_params=None,
user=None,
password=None,
key_file=None,
cert_file=None,
cert_reqs=0,
ca_certs=None,
ssl_version=1)
Connect to the current SAMP Hub. |
|
|
|
disconnect(self)
Disconnect from the current SAMP Hub. |
|
|
|
ping(self)
Proxy to ping SAMP Hub method (Standard Profile only) |
|
|
|
setXmlrpcCallback(self,
private_key,
xmlrpc_addr)
Proxy to setXmlrpcCallback SAMP Hub method (Standard
Profile only) |
|
|
|
register(self,
secret)
Proxy to register SAMP Hub method |
|
|
|
unregister(self,
private_key)
Proxy to unregister SAMP Hub method |
|
|
|
declareMetadata(self,
private_key,
metadata)
Proxy to declareMetadata SAMP Hub method |
|
|
|
getMetadata(self,
private_key,
client_id)
Proxy to getMetadata SAMP Hub method |
|
|
|
declareSubscriptions(self,
private_key,
subscriptions)
Proxy to declareSubscriptions SAMP Hub method |
|
|
|
getSubscriptions(self,
private_key,
client_id)
Proxy to getSubscriptions SAMP Hub method |
|
|
|
getRegisteredClients(self,
private_key)
Proxy to getRegisteredClients SAMP Hub method |
|
|
|
getSubscribedClients(self,
private_key,
mtype)
Proxy to getSubscribedClients SAMP Hub method |
|
|
|
notify(self,
private_key,
recipient_id,
message)
Proxy to notify SAMP Hub method |
|
|
|
notifyAll(self,
private_key,
message)
Proxy to notifyAll SAMP Hub method |
|
|
|
call(self,
private_key,
recipient_id,
msg_tag,
message)
Proxy to call SAMP Hub method |
|
|
|
callAll(self,
private_key,
msg_tag,
message)
Proxy to callAll SAMP Hub method |
|
|
|
callAndWait(self,
private_key,
recipient_id,
message,
timeout)
Proxy to callAndWait SAMP Hub method. |
|
|
|
reply(self,
private_key,
msg_id,
response)
Proxy to reply SAMP Hub method |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|