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

Method Index

 o Concern()
This method gives the concern of the message
 o M_Data()
This method gives the data object of the message
 o M_Tag()
This method gives the tag of a message
 o M_Type()
This method gives the message type of the message
 o ModuleId()
This method gives the message ID of the message
 o Prio()
This method gives the prio from the message
 o T_End()
This method gives the t_End from the message
 o T_Start()
This method gives the t_Start from the message
 o Timeout()
This method gives the timeout for a message
 o TurnId()
This method gives the turn ID of the message

Methods

 o T_Start
 public int T_Start()
This method gives the t_Start from the message

Returns:
Start-Time index of the message
 o T_End
 public int T_End()
This method gives the t_End from the message

Returns:
End-Time index of the message
 o Prio
 public int Prio()
This method gives the prio from the message

Returns:
Priority or rating for the message
 o 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)
 o TurnId
 public long TurnId()
This method gives the turn ID of the message

Returns:
A turn-Identificator (this is always an unsigned value)
 o ModuleId
 public String ModuleId()
This method gives the message ID of the message

Returns:
A unique Id for this message (String)
 o Concern
 public String Concern()
This method gives the concern of the message

Returns:
The messages concern (String); this is often ""
 o 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)
 o M_Tag
 public int M_Tag()
This method gives the tag of a message

Returns:
The (actual) message tag
 o 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