ActionMessenger Class Reference

Inheritance diagram for ActionMessenger:

ActionJavaObjectXMLMessenger ActionPlainTextMessenger List of all members.

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.

Detailed Description

Given an R3Action, the messenger will package it up and send it across the wire, so that the receiver can perform the designated action.

This software is distributed under the BSD License.

Ron B Yeh (ronyeh(AT)

Definition at line 23 of file

Constructor & Destructor Documentation

ActionMessenger ( Socket  s  ) 


Definition at line 43 of file

Member Function Documentation

abstract byte [] getMessage ( R3Action  action  )  [pure virtual]

Get the byte array to send across the socket.


Implemented in ActionJavaObjectXMLMessenger, and ActionPlainTextMessenger.

Referenced by ActionMessenger.sendAction().

void sendAction ( R3Action  action  ) 

Sends the bytes over the wire.


Definition at line 84 of file

References ActionMessenger.getMessage().

Referenced by ActionSender.invokeRemoteAction().

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