cz.zcu.fav.kiv.jsim.hla
Class JSimHLARequestHeader

java.lang.Object
  extended bycz.zcu.fav.kiv.jsim.hla.JSimHLARequestHeader
All Implemented Interfaces:
java.io.Serializable

public class JSimHLARequestHeader
extends java.lang.Object
implements java.io.Serializable

JSimHLARequestHeader contains header data for JSimHLARequest. You should never need to create an instance of this class. Attributes of this class are intentionaly public. Instances of this class are used as 'record' (or 'struct') data type, which is serialized and sent using HLA services to another federate.

Author:
Stanislav Kozina
See Also:
JSimHLARequest, Serialized Form

Field Summary
 java.lang.String objectName
          Name of JSim object.
 java.lang.String PROTOCOL_VERSION
          JSim HLA Protocol version.
 int requestSender
          Federate handle of request sender.
 int serviceCode
          Code of JSim service.
 
Constructor Summary
JSimHLARequestHeader(int requestSender, java.lang.String objectName, int serviceCode)
          Creates new instance of JSimHLARequestHeader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL_VERSION

public final java.lang.String PROTOCOL_VERSION
JSim HLA Protocol version. This field will be always serialized (there is no 'static' keyword).

See Also:
Constant Field Values

requestSender

public int requestSender
Federate handle of request sender.


objectName

public java.lang.String objectName
Name of JSim object. Specified JSim service will be executed on this object.


serviceCode

public int serviceCode
Code of JSim service. This service will be executed on specified object.

Constructor Detail

JSimHLARequestHeader

public JSimHLARequestHeader(int requestSender,
                            java.lang.String objectName,
                            int serviceCode)
Creates new instance of JSimHLARequestHeader. You should never need to create an instance of this class.

Parameters:
requestSender - Federate handle of request sender.
objectName - Name of JSim object.
serviceCode - Code of JSim service.