All Packages Class Hierarchy This Package Previous Next Index
Class TET.SyncMessage
java.lang.Object
|
+----TET.SyncMessage
- public class SyncMessage
- extends Object
-
TET_SMDUP
-
-
TET_SMMSGMAX
-
-
TET_SMRCVMSG
-
-
TET_SMSNDMSG
-
-
TET_SMTRUNC
-
-
SyncMessage()
-
-
duplicated()
- Answer whether there were two senders during synchronization.
-
length()
- Retrieve the message length.
-
message()
- Retrieve the message data.
-
sender()
- Answer whether this message was sent or if it contains message received
from another system.
-
set_message(byte[])
- Set up a SyncMessage for transmission of a message.
-
set_receive_length(int)
- Set up a SyncMessage for reception of a message.
-
truncated()
- Answer whether the synchronization message was truncated.
TET_SMSNDMSG
public final int TET_SMSNDMSG
TET_SMRCVMSG
public final int TET_SMRCVMSG
TET_SMDUP
public final int TET_SMDUP
TET_SMTRUNC
public final int TET_SMTRUNC
TET_SMMSGMAX
public final int TET_SMMSGMAX
SyncMessage
public SyncMessage()
set_message
public void set_message(byte msg[])
- Set up a SyncMessage for transmission of a message.
- Parameters:
- msg - the message to send.
length
public int length()
- Retrieve the message length.
- Returns:
- the message length (as an int)
set_receive_length
public void set_receive_length(int msglen)
- Set up a SyncMessage for reception of a message.
- Parameters:
- msglen - the size of the receive buffer to set up.
message
public byte[] message()
- Retrieve the message data.
- Returns:
- the message data (as a byte array)
truncated
public boolean truncated()
- Answer whether the synchronization message was truncated.
- Returns:
-
true
if the message was truncated because the
message was longer than the receive buffer or because the
message was longer than the permitted message length.
duplicated
public boolean duplicated()
- Answer whether there were two senders during synchronization.
- Returns:
-
true
if there were two senders during
synchronization.
sender
public boolean sender()
- Answer whether this message was sent or if it contains message received
from another system.
- Returns:
-
true
if this message was sent during
synchronization.
All Packages Class Hierarchy This Package Previous Next Index