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

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

public class JSimHLAResponse
extends java.lang.Object

JSimHLAResponse represents one response 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:
JSimHLAResponseHeader

Field Summary
private  java.lang.Object data
          Response data.
private  JSimHLAResponseHeader header
          Response header.
 
Constructor Summary
JSimHLAResponse(JSimHLAResponseHeader header)
          Creates new JSimHLAResponse instance without response data.
JSimHLAResponse(JSimHLAResponseHeader header, java.lang.Object data)
          Creates new JSimHLAResponse instance.
 
Method Summary
 java.lang.Object getData()
          Returns the data.
 JSimHLAResponseHeader getHeader()
          Returns the header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

header

private JSimHLAResponseHeader header
Response header.


data

private java.lang.Object data
Response data.

Constructor Detail

JSimHLAResponse

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

Parameters:
header - Response header.
data - Response data.

JSimHLAResponse

public JSimHLAResponse(JSimHLAResponseHeader header)
Creates new JSimHLAResponse instance without response data. You should never need to create an instance of this class.

Parameters:
header - Response header.
Method Detail

getData

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

Returns:
data

getHeader

public JSimHLAResponseHeader getHeader()
Returns the header.

Returns:
header