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

java.lang.Object
  extended bycz.zcu.fav.kiv.jsim.hla.JSimHLARequest

public class JSimHLARequest
extends java.lang.Object

JSimHLARequest represents one request for communication with JSimHLAConnection. It contains header (which is compulsory) and data. You should never need to create an instance of this class.

Author:
Stanislav Kozina
See Also:
JSimHLARequestHeader

Constructor Summary
JSimHLARequest(JSimHLARequestHeader header)
          Creates new JSimHLARequest instance without request data.
JSimHLARequest(JSimHLARequestHeader header, java.lang.Object data)
          Creates new JSimHLARequest instance.
 
Method Summary
 java.lang.Object getData()
          Returns the data.
 JSimHLARequestHeader getHeader()
          Returns the header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSimHLARequest

public JSimHLARequest(JSimHLARequestHeader header,
                      java.lang.Object data)
Creates new JSimHLARequest instance. You should never need to create an instance of this class.

Parameters:
header - Request header.
data - Request data.

JSimHLARequest

public JSimHLARequest(JSimHLARequestHeader header)
Creates new JSimHLARequest instance without request data. You should never need to create an instance of this class.

Parameters:
header - Request header.
Method Detail

getData

public java.lang.Object getData()
Returns the data.

Returns:
data

getHeader

public JSimHLARequestHeader getHeader()
Returns the header.

Returns:
header