be.lassi.lanbox.udp
Class UnknownMessage
java.lang.Object
be.lassi.lanbox.udp.UnknownMessage
- All Implemented Interfaces:
- Message
public class UnknownMessage
- extends java.lang.Object
- implements Message
A message in a UDP packet received from the Lanbox, with a message
type that is not supported by this software.
Constructor Summary |
UnknownMessage(int type)
Constructs a new instance. |
Method Summary |
void |
append(java.lang.StringBuilder b)
Appends a textual representation of this message to given
string builder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnknownMessage
public UnknownMessage(int type)
- Constructs a new instance.
- Parameters:
type
- the message type
append
public void append(java.lang.StringBuilder b)
- Appends a textual representation of this message to given
string builder.
- Specified by:
append
in interface Message
- Parameters:
b
- the string builder to append to