ActionJavaObjectXMLMessenger Class Reference

Inheritance diagram for ActionJavaObjectXMLMessenger:

ActionMessenger List of all members.

Public Member Functions

 ActionJavaObjectXMLMessenger (Socket s)
byte[] getMessage (R3Action action)
 Turns an R3Action into an xml string and then into the bytes we need to send.

Detailed Description

Sends an R3 Action as a Java object serialized to xml over a socket.

TODO: Seems like we could integrate this with PenServer's equivalent classes. How do we make it generic so that we can send an object over and either consider it a pen sample, or an action? Might be simpler to keep them separate for now. There are some issues with the way we serialize (removing spaces, et cetera).

This software is distributed under the BSD License.

Ron B Yeh (ronyeh(AT)

Definition at line 25 of file

Constructor & Destructor Documentation

ActionJavaObjectXMLMessenger ( Socket  s  ) 


Definition at line 30 of file

Member Function Documentation

byte [] getMessage ( R3Action  action  )  [virtual]

Turns an R3Action into an xml string and then into the bytes we need to send.

See also:

Implements ActionMessenger.

Definition at line 39 of file

References ActionMessenger.LINE_SEPARATOR.

The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:40 2007 for R3 Paper Toolkit by  doxygen 1.4.7