public abstract class AbstractPacket extends Object
| Constructor and Description |
|---|
AbstractPacket()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEndpointId() |
abstract byte |
getType()
Get the type value for this packet
|
abstract boolean |
isResponseExpected() |
protected void |
serializeTo(RawDataBuffer out)
Write the packet content to the given output stream
|
void |
setEndpointId(int endpointId) |
String |
toString() |
protected void |
unserializeFrom(RawDataBuffer in)
Read the packet content to the given input stream
|
public final void setEndpointId(int endpointId)
public final int getEndpointId()
public abstract byte getType()
protected void serializeTo(RawDataBuffer out)
protected void unserializeFrom(RawDataBuffer in)
public abstract boolean isResponseExpected()
Copyright © 2019. All rights reserved.