Class
Tree
          
PREV CLASS NEXT CLASS
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.test.processor.performance.decoders
Class TestMessage
com.newstep.solid.processor.Message
  |
  +--com.newstep.solid.test.processor.performance.decoders.TestMessage

public class TestMessage      
Base class for all messages of type com.newstep.solid.test.performance.decoders.TestMessage
 
Links:
Generalization Generalization Link
to Class Message
Base class for all messages of type com.newstep.solid.test.performance.decoders.TestMessage
 
 

Field Summary
MESSAGE_DECODED_STATE
EVENT_TYPE
MESSAGE_TYPE
int
long
private MESSAGE_DECODED_STATE
private EVENT_TYPE
private long
private MESSAGE_TYPE
private int
public long
public long
private final static long
Constructor Summary
public void
public void
Method Summary
public MESSAGE_DECODED_STATE
public EVENT_TYPE
public long
public MESSAGE_TYPE
public int
public void
setDecodedState(MESSAGE_DECODED_STATE decodedState)
public void
setEventType(EVENT_TYPE eventType)
public void
setMessageID(Long messageID)
public void
setMessageType(MESSAGE_TYPE messageType)
public void
setProducerID(Integer producerID)
public String
Field Detail
decodedState
MESSAGE_DECODED_STATE decodedState
 

decodedState
private MESSAGE_DECODED_STATE decodedState
Multiplicity:
1
 

eventType
EVENT_TYPE eventType
 

eventType
private EVENT_TYPE eventType
Multiplicity:
1
 

messageID
long messageID
 

messageID
private long messageID
Multiplicity:
1
 

messageType
MESSAGE_TYPE messageType
 

messageType
private MESSAGE_TYPE messageType
Multiplicity:
1
 

producerID
int producerID
 

producerID
private int producerID
Multiplicity:
1
 

rcvdAtDecoder
public long rcvdAtDecoder
Time when the message arrived at the message decoder
Multiplicity:
1
 

sentFromProducer
public long sentFromProducer
Time when the message was sent from the message producer
Multiplicity:
1
 

serialVersionUID
private final static long serialVersionUID
Serialization ID
Final.
Multiplicity:
1
Static.
 
Constructor Detail
TestMessage
public void TestMessage (TestMessage message)
 
Simple copy constructor
Parameters:
message com.newstep.solid.test.performance.decoders.TestMessage to copy from
Stereotype:
create
 

TestMessage
public void TestMessage ()
 
Default constructor
Stereotype:
create
 
Method Detail
getDecodedState
public MESSAGE_DECODED_STATE getDecodedState ()
 
Returns the decoding state of the message
Return:
Constants.MESSAGE_DECODED_STATE
 

getEventType
public EVENT_TYPE getEventType ()
 
Returns the event type
Return:
Constants.EVENT_TYPE
 

getMessageID
public long getMessageID ()
 
Returns the message ID
Return:
long
 

getMessageType
public MESSAGE_TYPE getMessageType ()
 
Returns the message type
Return:
Constants.MESSAGE_TYPE
 

getProducerID
public int getProducerID ()
 
Returns the producer ID
Return:
int
 

setDecodedState
public void setDecodedState (MESSAGE_DECODED_STATE decodedState)
 
Sets the decoding state of the message
Parameters:
decodedState Constants.MESSAGE_DECODED_STATE representing the message
decoding state
 

setEventType
public void setEventType (EVENT_TYPE eventType)
 
Sets the event type
Parameters:
eventType Constants.EVENT_TYPE representing the eventType to set
 

setMessageID
public void setMessageID (Long messageID)
 
Sets the message ID for the message
Parameters:
messageID long representing a message ID
 

setMessageType
public void setMessageType (MESSAGE_TYPE messageType)
 
Sets the message type
Parameters:
messageType Constants.MESSAGE_TYPE representing the message type
to set
 

setProducerID
public void setProducerID (Integer producerID)
 
Sets the producer ID
Parameters:
producerID The producerID to set
 

toString
public String toString ()
 
See Also:
 
 

Class
Tree
          
PREV CLASS NEXT CLASS
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD