All Packages Class Hierarchy This Package Previous Next Index
Class Ice.Msg
java.lang.Object
|
+----Ice.Msg
- public final class Msg
- extends Object
- implements Serializable
The Msg Class is an basis Java-Replacement of ICE's Ice_Msg-Struct
from
include/ice.h
Default values are eighter Send-Defaults (of c++component - send-shortcuts)
or the savest values to prohibit Exceptions
It is used (in copies) by the Ice-Java-Server and Client
The variables of the class are private to prohibit illegal access and could
only be set through sending or receiving messages by the methods of a
Component or Channel. There is a set of access method to read the contents
of the message.
- Version:
- 1.0, 15 Nov 1997
- Author:
- Volker Weber
-
Concern()
- This method gives the concern of the message
-
M_Data()
- This method gives the data object of the message
-
M_Tag()
- This method gives the tag of a message
-
M_Type()
- This method gives the message type of the message
-
ModuleId()
- This method gives the message ID of the message
-
Prio()
- This method gives the prio from the message
-
T_End()
- This method gives the t_End from the message
-
T_Start()
- This method gives the t_Start from the message
-
Timeout()
- This method gives the timeout for a message
-
TurnId()
- This method gives the turn ID of the message
T_Start
public int T_Start()
- This method gives the t_Start from the message
- Returns:
- Start-Time index of the message
T_End
public int T_End()
- This method gives the t_End from the message
- Returns:
- End-Time index of the message
Prio
public int Prio()
- This method gives the prio from the message
- Returns:
- Priority or rating for the message
M_Type
public String M_Type()
- This method gives the message type of the message
- Returns:
- The type of the message in terms of Java-Objects (String)
TurnId
public long TurnId()
- This method gives the turn ID of the message
- Returns:
- A turn-Identificator (this is always an unsigned value)
ModuleId
public String ModuleId()
- This method gives the message ID of the message
- Returns:
- A unique Id for this message (String)
Concern
public String Concern()
- This method gives the concern of the message
- Returns:
- The messages concern (String); this is often ""
M_Data
public Object M_Data()
- This method gives the data object of the message
- Returns:
- The data-Object of a message (null if Ice.Msg.M_Type() is NONE)
M_Tag
public int M_Tag()
- This method gives the tag of a message
- Returns:
- The (actual) message tag
Timeout
public long Timeout()
- This method gives the timeout for a message
- Returns:
- Timeout for sending a message in milliseconds (iff negative
no timeout)
All Packages Class Hierarchy This Package Previous Next Index