net.jxta.pipe
Class PipeMsgEvent
java.lang.Object
java.util.EventObject
net.jxta.pipe.PipeMsgEvent
- All Implemented Interfaces:
- Serializable
- public class PipeMsgEvent
- extends EventObject
Container for Pipe Message events.
- See Also:
- Serialized Form
PipeMsgEvent
public PipeMsgEvent(Object source,
Message message,
PipeID pipeID)
- Creates a new event
- Parameters:
source
- The PipeObject on which the message was received.message
- the message objectpipeID
- the pipe id of the pipe on which the message was received.
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