Inheritance diagram for ActionMessenger:
Public Member Functions | |
ActionMessenger (Socket s) | |
void | destroy () |
Clean up resources. | |
abstract byte[] | getMessage (R3Action action) |
Get the byte array to send across the socket. | |
void | sendAction (R3Action action) |
Sends the bytes over the wire. | |
Static Protected Attributes | |
static final String | LINE_SEPARATOR = SystemUtils.LINE_SEPARATOR |
The OS-specific newline string. |
This software is distributed under the BSD License.
Definition at line 23 of file ActionMessenger.java.
ActionMessenger | ( | Socket | s | ) |
abstract byte [] getMessage | ( | R3Action | action | ) | [pure virtual] |
Get the byte array to send across the socket.
action |
Implemented in ActionJavaObjectXMLMessenger, and ActionPlainTextMessenger.
Referenced by ActionMessenger.sendAction().
void sendAction | ( | R3Action | action | ) |
Sends the bytes over the wire.
action |
Definition at line 84 of file ActionMessenger.java.
References ActionMessenger.getMessage().
Referenced by ActionSender.invokeRemoteAction().