indra::ipc::saranwrap::Server Class Reference

List of all members.

Public Member Functions

def __init__
def handle_status
def handle_getattr
def handle_setattr
def handle_getitem
def handle_setitem
def handle_eq
def handle_call
def handle_del
def handle_type
def loop
def is_value
def respond
def write_exception

Private Attributes

 _in
 _out
 _export
 _next_id
 _objects


Detailed Description

Definition at line 426 of file saranwrap.py.


Member Function Documentation

def indra::ipc::saranwrap::Server::__init__ (   self,
  input,
  output,
  export 
)

\
@param input a file-like object which supports read().
@param output a file-like object which supports write() and flush().
@param export an object, function, or map which is exported to clients
when the id is None.

Definition at line 427 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_status (   self,
  object,
  req 
)

Definition at line 440 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_getattr (   self,
  object,
  req 
)

Definition at line 446 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_setattr (   self,
  object,
  req 
)

Definition at line 456 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_getitem (   self,
  object,
  req 
)

Definition at line 465 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_setitem (   self,
  object,
  req 
)

Definition at line 468 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_eq (   self,
  object,
  req 
)

Definition at line 472 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_call (   self,
  object,
  req 
)

Definition at line 481 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_del (   self,
  object,
  req 
)

Definition at line 493 of file saranwrap.py.

def indra::ipc::saranwrap::Server::handle_type (   self,
  object,
  req 
)

Definition at line 501 of file saranwrap.py.

def indra::ipc::saranwrap::Server::loop (   self  ) 

@brief Loop forever and respond to all requests.

Definition at line 504 of file saranwrap.py.

def indra::ipc::saranwrap::Server::is_value (   self,
  value 
)

\
@brief Test if value should be serialized as a simple dataset.
@param value The value to test.
@return Returns true if value is a simple serializeable set of data.

Definition at line 565 of file saranwrap.py.

def indra::ipc::saranwrap::Server::respond (   self,
  body 
)

Definition at line 573 of file saranwrap.py.

def indra::ipc::saranwrap::Server::write_exception (   self,
  e 
)

@brief Helper method to respond with an exception.

Definition at line 580 of file saranwrap.py.


Member Data Documentation

Definition at line 434 of file saranwrap.py.

Definition at line 435 of file saranwrap.py.

Definition at line 436 of file saranwrap.py.

Definition at line 437 of file saranwrap.py.

Definition at line 438 of file saranwrap.py.


The documentation for this class was generated from the following file:

Generated on Fri May 16 09:42:29 2008 for SecondLife by  doxygen 1.5.5