Project JXTA

net.jxta.pipe
Class PipeMsgEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--net.jxta.pipe.PipeMsgEvent
All Implemented Interfaces:
java.io.Serializable

public class PipeMsgEvent
extends java.util.EventObject

Container for PipeMsgEvent events.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PipeMsgEvent(java.lang.Object source, Message message, PipeID pipeID)
          Creates a new event
 
Method Summary
 Message getMessage()
          Returns the message associated with the event
 PipeID getPipeID()
          Returns the pipeID associated with the event
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipeMsgEvent

public PipeMsgEvent(java.lang.Object source,
                    Message message,
                    PipeID pipeID)
Creates a new event
Parameters:
source - The object on which the Event initially occurred
message - the message object
Method Detail

getMessage

public Message getMessage()
Returns the message associated with the event
Returns:
message

getPipeID

public PipeID getPipeID()
Returns the pipeID associated with the event
Returns:
pipeID

Project JXTA