org.mobicents.media.server.mgcp
Interface MgcpEvent

All Superinterfaces:
Event<MgcpProvider>

public interface MgcpEvent
extends Event<MgcpProvider>

Mgcp protocol event.

Author:
kulikov

Field Summary
static int REQUEST
           
static int RESPONSE
           
 
Method Summary
 SocketAddress getAddress()
          Gets the address from which the message was received.
 int getEventID()
          Gets the type of this event.
 MgcpMessage getMessage()
          Gets the message associated with this event.
 void recycle()
          Allows to recycle this event object and thus prevent unnecessary GC.
 
Methods inherited from interface org.mobicents.media.server.spi.listener.Event
getSource
 

Field Detail

REQUEST

static final int REQUEST
See Also:
Constant Field Values

RESPONSE

static final int RESPONSE
See Also:
Constant Field Values
Method Detail

getEventID

int getEventID()
Gets the type of this event.

Returns:
the event type constant

getMessage

MgcpMessage getMessage()
Gets the message associated with this event.

Returns:
the MGCP message.

getAddress

SocketAddress getAddress()
Gets the address from which the message was received.

Returns:
the address object.

recycle

void recycle()
Allows to recycle this event object and thus prevent unnecessary GC.



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