ie.omk.smpp.event
Class SMPPEvent

java.lang.Object
  extended by ie.omk.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 264 2006-03-09 14:00:40Z orank $
Author:
Oran Kelly

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, Connection source)
          Construct a new event.
 
Method Summary
 Connection 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,
                    Connection source)
Construct a new event. The type parameter should match one of the enumeration constants defined in this class.

Method Detail

getSource

public Connection 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 smppapi at Sourceforge. All Rights Reserved.