pyrasun.eio.protocols.object
Class Packet

java.lang.Object
  extended bypyrasun.eio.protocols.object.Packet
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class Packet
extends java.lang.Object
implements java.io.Externalizable

See Also:
Serialized Form

Field Summary
static int MAGIC
           
 
Constructor Summary
Packet()
           
Packet(java.lang.String channel, java.lang.Object object)
           
 
Method Summary
 java.lang.String getChannel()
           
 java.lang.Object getObject()
           
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAGIC

public static final int MAGIC
See Also:
Constant Field Values
Constructor Detail

Packet

public Packet(java.lang.String channel,
              java.lang.Object object)

Packet

public Packet()
Method Detail

getChannel

public java.lang.String getChannel()

getObject

public java.lang.Object getObject()

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException


Pyrasun EmberIO