cgl.narada.topicgenerator
Class LongTopicRequest
java.lang.Object
cgl.narada.topicgenerator.LongTopicRequest
public class LongTopicRequest
- extends Object
|
Constructor Summary |
LongTopicRequest(byte[] data)
this constructor is used server side to construct a request message
from a byte stream received over the network |
LongTopicRequest(int clientID,
int numberOfTopics)
this constructor is used in client side to construct a request message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongTopicRequest
public LongTopicRequest(int clientID,
int numberOfTopics)
- this constructor is used in client side to construct a request message
- Parameters:
clientID -
LongTopicRequest
public LongTopicRequest(byte[] data)
- this constructor is used server side to construct a request message
from a byte stream received over the network
- Parameters:
data - the byte array received over the network
getClientID
public int getClientID()
- Returns:
- the clientID of this object
getNumberOfTopics
public int getNumberOfTopics()
- Returns:
- the clientID of this object
getBytes
public byte[] getBytes()
- this method is used to serialize an object to send accross the network
- Returns:
- the serialized form of the object
For comments and suggestions please send
e-mail to
The NaradaBrokering Project