net.sf.asterisk.manager.event
Class ConnectEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by net.sf.asterisk.manager.event.ConnectEvent
All Implemented Interfaces:
java.io.Serializable

public class ConnectEvent
extends ManagerEvent

A ConnectEvent is triggered after successful login to the asterisk server.
It is a pseudo event not directly related to an asterisk generated event.

Version:
$Id: ConnectEvent.java,v 1.3 2005/03/02 23:15:50 srt Exp $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConnectEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getProtocolIdentifier()
          Returns the version of the protocol.
 void setProtocolIdentifier(java.lang.String protocolIdentifier)
          Sets the version of the protocol.
 
Methods inherited from class net.sf.asterisk.manager.event.ManagerEvent
getDateReceived, getPrivilege, setDateReceived, setPrivilege, toString
 
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

ConnectEvent

public ConnectEvent(java.lang.Object source)
Parameters:
source -
Method Detail

getProtocolIdentifier

public java.lang.String getProtocolIdentifier()
Returns the version of the protocol.

Returns:
the version of the protocol.

setProtocolIdentifier

public void setProtocolIdentifier(java.lang.String protocolIdentifier)
Sets the version of the protocol.

Parameters:
protocolIdentifier - the version of the protocol.


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.