org.mobicents.media.server.impl
Class NotifyEventImpl

java.lang.Object
  extended by org.mobicents.media.server.impl.NotifyEventImpl
All Implemented Interfaces:
java.io.Serializable, org.mobicents.media.server.spi.events.NotifyEvent
Direct Known Subclasses:
DtmfEvent, FailureEventImpl, MeanderEvent, SpectrumEvent

public class NotifyEventImpl
extends java.lang.Object
implements org.mobicents.media.server.spi.events.NotifyEvent

Implementation for standard events.

Author:
kulikov
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.mobicents.media.server.spi.events.NotifyEvent
COMPLETED, RX_FAILED, START_FAILED, STARTED, STOPPED, TX_FAILED
 
Constructor Summary
NotifyEventImpl(BaseComponent component, int eventID)
           
NotifyEventImpl(BaseComponent component, int eventID, java.lang.String desc)
           
 
Method Summary
 int getEventID()
           
 org.mobicents.media.Component getSource()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotifyEventImpl

public NotifyEventImpl(BaseComponent component,
                       int eventID)

NotifyEventImpl

public NotifyEventImpl(BaseComponent component,
                       int eventID,
                       java.lang.String desc)
Method Detail

getEventID

public int getEventID()
Specified by:
getEventID in interface org.mobicents.media.server.spi.events.NotifyEvent

getSource

public org.mobicents.media.Component getSource()
Specified by:
getSource in interface org.mobicents.media.server.spi.events.NotifyEvent

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.