comm2j
Class LongMessage

java.lang.Object
  |
  +--comm2j.Message
        |
        +--comm2j.LongMessage
All Implemented Interfaces:
MessageI

public class LongMessage
extends Message

LongMessage is the message class used to send and receive long to/from remote server.

Version:
1.0
Author:
Luca Bertoncello <lucabert@lucabert.de>
See Also:
Comm2J, Long

Fields inherited from class comm2j.Message
className, message, messageHasBeenSet
 
Constructor Summary
LongMessage()
          Constructor.
LongMessage(java.lang.Long message)
          Constructor.
 
Method Summary
protected  void setInternalObject(java.lang.Object obj)
          Sets the internal object.
 
Methods inherited from class comm2j.Message
getMessage, getName, isMessageSet, readHeader, readMessage, setMessage, toString, writeHeader, writeMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongMessage

public LongMessage()
Constructor. Initialize the class with null long

LongMessage

public LongMessage(java.lang.Long message)
Constructor. Initialize the class with given long
Parameters:
message - Initial long
Method Detail

setInternalObject

protected void setInternalObject(java.lang.Object obj)
Sets the internal object. This function is used by readMessage.
Overrides:
setInternalObject in class Message
Parameters:
obj - Internal object to be set