com.zion.jbuddy.msn
Class MsnActivitySessionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.zion.jbuddy.msn.MsnActivitySessionEvent
All Implemented Interfaces:
Serializable

public class MsnActivitySessionEvent
extends EventObject

Provides access to Activity Session event properties. Instances of this class are passed to IMsnActivitySessionListener methods.

Property methods provide links to the listener methods which use them.

Since:
6.0
See Also:
IMsnActivitySessionListener, Serialized Form

Method Summary
 String getCommand()
          Returns the command that was received.
 Exception getException()
          Returns the exception that occurred.
 IMsnActivitySession getSession()
          Returns the session associated with this event.
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSession

public IMsnActivitySession getSession()
Returns the session associated with this event.

Every session event has an associated session.


getCommand

public String getCommand()
Returns the command that was received.

Returns:
the command, or null if it doesn't apply to this event
See Also:
IMsnActivitySessionListener.incomingCommand(com.zion.jbuddy.msn.MsnActivitySessionEvent)

getException

public Exception getException()
Returns the exception that occurred.

Returns:
the exception, or null if it doesn't apply to this event
See Also:
IMsnActivitySessionListener.lostConnection(com.zion.jbuddy.msn.MsnActivitySessionEvent)

toString

public String toString()
Overrides:
toString in class EventObject


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2010 Zion Software, LLC All Rights Reserved.