org.mobicents.media.server
Class ConnectionEventImpl

java.lang.Object
  extended by org.mobicents.media.server.ConnectionEventImpl
All Implemented Interfaces:
ConnectionEvent, Event<Connection>

public class ConnectionEventImpl
extends Object
implements ConnectionEvent

Implementation for connection event.

Author:
kulikov

Field Summary
 
Fields inherited from interface org.mobicents.media.server.spi.ConnectionEvent
IO_ERROR, MODE_CHANGE, STATE_CHANGE
 
Constructor Summary
protected ConnectionEventImpl(int id, Connection source)
          Creates new event object.
 
Method Summary
 int getId()
          (Non Java-doc.)
 Connection getSource()
          (Non Java-doc.)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionEventImpl

protected ConnectionEventImpl(int id,
                              Connection source)
Creates new event object.

Parameters:
id - event identifier
source - event source
Method Detail

getId

public int getId()
(Non Java-doc.)

Specified by:
getId in interface ConnectionEvent
See Also:
ConnectionEvent.getId()

getSource

public Connection getSource()
(Non Java-doc.)

Specified by:
getSource in interface Event<Connection>
See Also:
Event.getSource()


Copyright © 2012 TeleStax, Inc.. All Rights Reserved.