Inheritance diagram for ActionJavaObjectXMLMessenger:
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. |
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.
Definition at line 25 of file ActionJavaObjectXMLMessenger.java.
ActionJavaObjectXMLMessenger | ( | Socket | s | ) |
byte [] getMessage | ( | R3Action | action | ) | [virtual] |
Turns an R3Action into an xml string and then into the bytes we need to send.
Implements ActionMessenger.
Definition at line 39 of file ActionJavaObjectXMLMessenger.java.
References ActionMessenger.LINE_SEPARATOR.