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

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
 

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