JXTA

net.jxta.endpoint
Class MessengerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.jxta.endpoint.MessengerEvent
All Implemented Interfaces:
Serializable

public class MessengerEvent
extends EventObject

An event which indicates that a messenger has been successfully created.

The source of Message Transport providing the messenger.

See Also:
MessageTransport, Messenger, EndpointService, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MessengerEvent(Object source, Messenger messenger, EndpointAddress connectionAddress)
          Creates a new instance of MessengerEvent
 
Method Summary
 EndpointAddress getConnectionAddress()
           
 Messenger getMessenger()
           
 String toString()
          

A simple implementation for debugging.

 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessengerEvent

public MessengerEvent(Object source,
                      Messenger messenger,
                      EndpointAddress connectionAddress)
Creates a new instance of MessengerEvent

Parameters:
source - The source of Message Transport providing the messenger
messenger - the messenger
connectionAddress - The connection address
Method Detail

getMessenger

public Messenger getMessenger()

getConnectionAddress

public EndpointAddress getConnectionAddress()

toString

public String toString()

A simple implementation for debugging. Don't depend upon this format.

Overrides:
toString in class EventObject

JXSE