org.asteriskjava.manager.event
Class ConnectEvent
java.lang.Object
java.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.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 397 2006-05-26 12:13:32Z srt $
- Author:
- srt
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
ConnectEvent(java.lang.Object source)
|
ConnectEvent(java.lang.Object source,
java.lang.String protocolIdentifier)
|
| 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 |
ConnectEvent
public ConnectEvent(java.lang.Object source)
- Parameters:
source -
ConnectEvent
public ConnectEvent(java.lang.Object source,
java.lang.String protocolIdentifier)
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-2007 Stefan Reuter. All Rights Reserved.