org.mobicents.media.server.mgcp.controller.signal
Class MgcpPackage
java.lang.Object
org.mobicents.media.server.mgcp.controller.signal.MgcpPackage
public class MgcpPackage
- extends Object
MGCP event/signal package.
- Author:
- kulikov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
request
protected Request request
MgcpPackage
public MgcpPackage(String name,
Collection<Signal> signals)
- Creates new package.
- Parameters:
name - the name of the package.signals - the list of executors for events/signals.
getName
public Text getName()
- Gets the name of this package.
- Returns:
- the name of the package.
setRequest
public void setRequest(Request request)
- Assign request executor.
- Parameters:
request - the request executor.
accept
public void accept(Text event)
throws UnknownEventException
- Throws:
UnknownEventException
reset
public void reset()
onEvent
public void onEvent(Text event)
completed
public void completed()
getEndpoint
public Endpoint getEndpoint()
getConnection
public Connection getConnection(String ID)
throws UnknownActivityException
- Throws:
UnknownActivityException
getSignal
public Signal getSignal(Text name)
Copyright © 2012 TeleStax, Inc.. All Rights Reserved.