org.mobicents.protocols.smpp.event
Class SMPPEvent

java.lang.Object
  extended by org.mobicents.protocols.smpp.event.SMPPEvent
Direct Known Subclasses:
ReceiverExceptionEvent, ReceiverExitEvent, ReceiverStartEvent

public abstract class SMPPEvent
extends Object

Abstract super class of SMPP control events.

Version:
$Id: SMPPEvent.java 452 2009-01-15 16:56:36Z orank $

Field Summary
static int RECEIVER_EXCEPTION
          ReceiverExceptionEvent enumeration type.
static int RECEIVER_EXIT
          ReceiverExitEvent enumeration type.
static int RECEIVER_START
          ReceiverStartEvent enumeration type.
 
Constructor Summary
protected SMPPEvent(int type, Session source)
          Construct a new event.
 
Method Summary
 Session getSource()
          Get the source connection of this event.
 int getType()
          Get the enumeration type of this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECEIVER_START

public static final int RECEIVER_START
ReceiverStartEvent enumeration type.

See Also:
Constant Field Values

RECEIVER_EXIT

public static final int RECEIVER_EXIT
ReceiverExitEvent enumeration type.

See Also:
Constant Field Values

RECEIVER_EXCEPTION

public static final int RECEIVER_EXCEPTION
ReceiverExceptionEvent enumeration type.

See Also:
Constant Field Values
Constructor Detail

SMPPEvent

protected SMPPEvent(int type,
                    Session source)
Construct a new event. The type parameter should match one of the enumeration constants defined in this class.

Method Detail

getSource

public Session getSource()
Get the source connection of this event.


getType

public int getType()
Get the enumeration type of this event.

See Also:
RECEIVER_EXIT, RECEIVER_EXCEPTION


Copyright © 2011 Mobicents. All Rights Reserved.