CubePacket
Class CubePacket
java.lang.Object
|
+--CubePacket.CubePacket
- All Implemented Interfaces:
- java.io.Serializable
- public class CubePacket
- extends java.lang.Object
- implements java.io.Serializable
This is the CubePacket which is sent between the SugarCube and the SuperCube.
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
Content
|
java.lang.String |
Head
|
Constructor Summary |
CubePacket(java.lang.String Head,
java.lang.String Content)
Constructor of the CubePacket. |
Method Summary |
java.lang.String |
toString()
toString creats a nice string with the packet-content. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Head
public java.lang.String Head
Content
public java.lang.String Content
CubePacket
public CubePacket(java.lang.String Head,
java.lang.String Content)
- Constructor of the CubePacket.
- Parameters:
Head
- the head of the packet.Content
- the content of the packet.
toString
public java.lang.String toString()
- toString creats a nice string with the packet-content.
- Overrides:
- toString in class java.lang.Object