|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent
com.mindtree.techworks.insight.remoteprotocol.spi.NullMessageDataContent
public class NullMessageDataContent
This is the data content for packets where all the information is carried in
the Header itself. One example of such a packet is the
Shutdown Message.
PacketDataContent,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent |
|---|
MAX_PACKET_DATA_SIZE, messageType, packetData |
| Constructor Summary | |
|---|---|
NullMessageDataContent()
Creates a new instance of NullMessageDataContent |
|
NullMessageDataContent(byte[] completePacketData,
PacketHeader packetHeader)
Creates a new instance of NullMessageDataContent |
|
| Method Summary | |
|---|---|
void |
setPacketData(byte[] packetData)
Overrides the superclasses setPacketData method. |
| Methods inherited from class com.mindtree.techworks.insight.remoteprotocol.spi.PacketDataContent |
|---|
checkPacketDataSize, getLength, getMessageType, getPacketData, setMessageType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullMessageDataContent()
PacketDataContent.PacketDataContent()
public NullMessageDataContent(byte[] completePacketData,
PacketHeader packetHeader)
throws RemoteProtocolException
completePacketData - The data for the complete packet.packetHeader - The header for the packet
RemoteProtocolException - If the length of the data in the packet
is greater than 0.PacketDataContent.PacketDataContent(byte[], PacketHeader)| Method Detail |
|---|
public void setPacketData(byte[] packetData)
throws RemoteProtocolException
setPacketData in class PacketDataContentpacketData - The packetData to set.
RemoteProtocolException - if the packetData passed
in is not null.PacketDataContent.setPacketData(byte[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||