Asterisk-Java

org.asteriskjava.manager.event
Class ProtocolIdentifierReceivedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.asteriskjava.manager.event.ManagerEvent
          extended by org.asteriskjava.manager.event.ProtocolIdentifierReceivedEvent
All Implemented Interfaces:
java.io.Serializable

public class ProtocolIdentifierReceivedEvent
extends ManagerEvent

A ProtocolIdentifierReceivedEvent is triggered when the network connection to the Asterisk server has been established and the protocol identifier has been sent.

It is a pseudo event not directly related to an Asterisk generated event.

The ProtocolIdentifierReceivedEvent is not dispatched to clients so you will probably never see it.

Version:
$Id: ProtocolIdentifierReceivedEvent.java 938 2007-12-31 03:23:38Z srt $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProtocolIdentifierReceivedEvent(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 org.asteriskjava.manager.event.ManagerEvent
getDateReceived, getPrivilege, getServer, getTimestamp, setDateReceived, setPrivilege, setServer, setTimestamp, 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

ProtocolIdentifierReceivedEvent

public ProtocolIdentifierReceivedEvent(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.

Asterisk-Java

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