Asterisk-Java

org.asteriskjava.manager.event
Class LinkEvent

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

Deprecated. as of 1.0.0, use BridgeEvent and BridgeEvent.isLink() instead

public class LinkEvent
extends BridgeEvent

A LinkEvent is triggered when two voice channels are linked together and voice data exchange commences.

Several Link events may be seen for a single call. This can occur when Asterisk fails to setup a native bridge for the call.This is when Asterisk must sit between two telephones and perform CODEC conversion on their behalf.

It is implemented in channel.c

Version:
$Id: LinkEvent.java 971 2008-02-03 15:14:06Z srt $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.asteriskjava.manager.event.BridgeEvent
BRIDGE_STATE_LINK, BRIDGE_STATE_UNLINK, BRIDGE_TYPE_CORE, BRIDGE_TYPE_RTP_DIRECT, BRIDGE_TYPE_RTP_NATIVE, BRIDGE_TYPE_RTP_REMOTE
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LinkEvent(java.lang.Object source)
          Deprecated.  
 
Method Summary
 
Methods inherited from class org.asteriskjava.manager.event.BridgeEvent
getBridgeState, getBridgeType, getCallerId1, getCallerId2, getChannel1, getChannel2, getUniqueId1, getUniqueId2, isLink, isUnlink, setBridgeState, setBridgeType, setCallerId1, setCallerId2, setChannel1, setChannel2, setUniqueId1, setUniqueId2
 
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

LinkEvent

public LinkEvent(java.lang.Object source)
Deprecated. 

Asterisk-Java

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