Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.processor
Class Message
Direct Known Subclasses:
       TestMessage

public class Message      
 
Links:
Kernel Association Association Link
to Interface MessageOriginator
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
 
 

Field Summary
byte[]
private final static String
private byte[]
private static Logger
Constructor Summary
public void
Message(Message message)
public void
Message(Byte datum)
public void
Message(Byte datum, MessageOriginator orig)
public void
public void
Message(ByteBuffer buffer)
Method Summary
public boolean
equals(Object rhs)
public byte[]
public int
public void
setData(Byte datum)
public void
public String
Field Detail
className
private final static String className
Final.
Multiplicity:
1
Static.
 

data
byte[] data
 

data
private byte[] data
Multiplicity:
1
 

logger
private static Logger logger
Multiplicity:
1
Static.
 

originator
MessageOriginator originator
 

originator
private MessageOriginator originator
Multiplicity:
1
 
Constructor Detail
Message
public void Message (Message message)
 
Stereotype:
create
 

Message
public void Message (Byte datum)
 
Stereotype:
create
 

Message
public void Message (Byte datum, MessageOriginator orig)
 
Stereotype:
create
 

Message
public void Message ()
 
Stereotype:
create
 

Message
public void Message (ByteBuffer buffer)
 
Constructs a message by copying the bytebuffer into the message. If
buffer is null it constructs an emty default message
Parameters:
buffer
Stereotype:
create
 
Method Detail
equals
public boolean equals (Object rhs)
 
 

getData
public byte[] getData ()
 
Returns the actual data contained in the message.
Return:
byte[]
 

getOriginator
public MessageOriginator getOriginator ()
 
Return:
Returns the originator.
 

getSize
public int getSize ()
 
 

setData
public void setData (Byte datum)
 
Assigns the actual data of the message
Parameters:
datum
byte[]
 

setOriginator
public void setOriginator (MessageOriginator orig)
 
Parameters:
orig
The originator to set.
 

toString
public String toString ()
 
Outside representation of the message
Return:
String
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD