org.echarts
Class PortMessage

java.lang.Object
  extended by org.echarts.PortMessage
All Implemented Interfaces:
java.io.Serializable

public class PortMessage
extends java.lang.Object
implements java.io.Serializable

Abstract superclass of all subclasses that encapsulate an Message and the local port from which it was received. Permits distinguishing the origins of messages from different ports.

See Also:
Serialized Form

Field Summary
 java.lang.Object message
           
 Port port
           
static long serialVersionUID
           
 
Constructor Summary
PortMessage(Port port, java.lang.Object message)
           
 
Method Summary
 java.lang.Object getMessage()
           
 Port getPort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

port

public final Port port

message

public java.lang.Object message
Constructor Detail

PortMessage

public PortMessage(Port port,
                   java.lang.Object message)
Method Detail

getMessage

public java.lang.Object getMessage()

getPort

public Port getPort()