All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class TET.SyncMessage

java.lang.Object
   |
   +----TET.SyncMessage

public class SyncMessage
extends Object

Variable Index

 o TET_SMDUP
 o TET_SMMSGMAX
 o TET_SMRCVMSG
 o TET_SMSNDMSG
 o TET_SMTRUNC

Constructor Index

 o SyncMessage()

Method Index

 o duplicated()
Answer whether there were two senders during synchronization.
 o length()
Retrieve the message length.
 o message()
Retrieve the message data.
 o sender()
Answer whether this message was sent or if it contains message received from another system.
 o set_message(byte[])
Set up a SyncMessage for transmission of a message.
 o set_receive_length(int)
Set up a SyncMessage for reception of a message.
 o truncated()
Answer whether the synchronization message was truncated.

Variables

 o TET_SMSNDMSG
 public final int TET_SMSNDMSG
 o TET_SMRCVMSG
 public final int TET_SMRCVMSG
 o TET_SMDUP
 public final int TET_SMDUP
 o TET_SMTRUNC
 public final int TET_SMTRUNC
 o TET_SMMSGMAX
 public final int TET_SMMSGMAX

Constructors

 o SyncMessage
 public SyncMessage()

Methods

 o set_message
 public void set_message(byte msg[])
Set up a SyncMessage for transmission of a message.

Parameters:
msg - the message to send.
 o length
 public int length()
Retrieve the message length.

Returns:
the message length (as an int)
 o 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.
 o message
 public byte[] message()
Retrieve the message data.

Returns:
the message data (as a byte array)
 o 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.
 o duplicated
 public boolean duplicated()
Answer whether there were two senders during synchronization.

Returns:
true if there were two senders during synchronization.
 o 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