| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.comm.rtt
|
+--com.newstep.solid.comm.rtt.RttMessage
public class RttMessage
Author:
atomus
Links:
Kernel Association Association Link
Associates type:
aggregationByValue
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client role:
1
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregationByValue
Generalization Generalization Link
Author:
atomus
| Field Summary |
int |
|
|
|
int |
|
int |
|
private int |
|
public static String |
|
|
|
private int |
|
public static Logger |
|
private int |
|
public final static int |
|
public final static int |
|
public final static int |
|
| Constructor Summary |
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
| Method Summary |
|
|
public int |
|
|
|
public int |
|
public int |
|
|
|
public void |
|
public void |
|
public void |
|
public void |
|
public String |
|
|
|
|
|
private int channelID
Multiplicity:
1
int channelID
public static String className
Multiplicity:
1
Static.
Multiplicity:
1
int length
private int length
Multiplicity:
1
public static Logger logger
Multiplicity:
1
Static.
int magic
private int magic
Multiplicity:
1
public final static int RTT_FIX_SIZE
Final.
Multiplicity:
1
Static.
public final static int RTT_HEADER_SIZE
Final.
Multiplicity:
1
Static.
public final static int RTT_MAGIC
Final.
Multiplicity:
1
Static.
Stereotype:
create
Stereotype:
create
public void RttMessage (Message body)
Stereotype:
create
Stereotype:
create
public void RttMessage ()
Stereotype:
create
public int getChannelID ()
Gets the header of the message
Return:
RttMessageHeader
public int getLength ()
Gets the length of the message
Return:
int
public int getMagic ()
Gets the magic number.
Return:
char
Adds the header to the byte representation of the message
Return:
Message
public void setChannelID (Integer channelID)
Sets the header of the Rtt message
Parameters:
header RttMessageHeader
public void setLength (Integer length)
Sets the length of the Rtt message
Parameters:
length int
public void setMagic (Integer magic)
Sets the magic
Parameters:
magic char
public String toString ()
Gets the magic and the message lentgh assuming thy are the first RTT_FIX_SIZE
bytes in the message
Return:
TODO
Constructs the message header assuming the first RTT_HEADER_SIZE
bytes in the message are the header
Return:
RttMessage
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|