org.mobicents.slee.resource.smpp.ra
Class AbstractTransaction

java.lang.Object
  extended by org.mobicents.slee.resource.smpp.ra.SmppActivityImpl
      extended by org.mobicents.slee.resource.smpp.ra.AbstractTransaction
All Implemented Interfaces:
net.java.slee.resource.smpp.Transaction
Direct Known Subclasses:
ClientDataSmTransactionImpl, ClientDeliverSmTransactionImpl, ClientSubmitSmTransactionImpl, ServerDataSmTransactionImpl, ServerDeliverSmTransactionImpl, ServerSubmitSmTransactionImpl

public class AbstractTransaction
extends SmppActivityImpl
implements net.java.slee.resource.smpp.Transaction

Author:
Oleg Kulikov

Field Summary
protected  SmppDialogImpl dialog
           
protected  int id
           
protected  java.util.Timer timer
           
static int TTL
           
 
Fields inherited from interface net.java.slee.resource.smpp.Transaction
STATUS_CANCEL_FAILED, STATUS_INVALID_MESSAGE_LENGTH, STATUS_INVDST, STATUS_INVMSGID, STATUS_INVSRC, STATUS_MSGQFULL, STATUS_OK, STATUS_REPLACE_FAILED, STATUS_SYSERROR
 
Constructor Summary
AbstractTransaction(int id, SmppDialogImpl dialog)
           
 
Method Summary
 int getId()
          (Non Java-doc).
 java.util.Date getLastActivity()
           
 java.lang.String toString()
           
 
Methods inherited from class org.mobicents.slee.resource.smpp.ra.SmppActivityImpl
getActivityHandle, setActivityHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TTL

public static final int TTL
See Also:
Constant Field Values

dialog

protected SmppDialogImpl dialog

id

protected int id

timer

protected java.util.Timer timer
Constructor Detail

AbstractTransaction

public AbstractTransaction(int id,
                           SmppDialogImpl dialog)
Method Detail

getId

public int getId()
(Non Java-doc).

Specified by:
getId in interface net.java.slee.resource.smpp.Transaction
See Also:
Transaction.getId().

getLastActivity

public java.util.Date getLastActivity()
Specified by:
getLastActivity in interface net.java.slee.resource.smpp.Transaction

toString

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


Copyright © 2009. All Rights Reserved.