net.java.slee.resource.smpp
Interface Transaction

All Known Subinterfaces:
ClientTransaction, ServerTransaction

public interface Transaction

This interface represents a generic transaction interface defining the methods common between client and server transactions.

Author:
Oleg Kulikov

Field Summary
static int STATUS_CANCEL_FAILED
           
static int STATUS_INVALID_MESSAGE_LENGTH
           
static int STATUS_INVDST
           
static int STATUS_INVMSGID
           
static int STATUS_INVSRC
           
static int STATUS_MSGQFULL
           
static int STATUS_OK
           
static int STATUS_REPLACE_FAILED
           
static int STATUS_SYSERROR
           
 
Method Summary
 int getId()
          Returns a unique identifer that identifies this transaction.
 java.util.Date getLastActivity()
          Gets the date and time of the last activity of this transaction.
 

Field Detail

STATUS_OK

static final int STATUS_OK
See Also:
Constant Field Values

STATUS_INVALID_MESSAGE_LENGTH

static final int STATUS_INVALID_MESSAGE_LENGTH
See Also:
Constant Field Values

STATUS_SYSERROR

static final int STATUS_SYSERROR
See Also:
Constant Field Values

STATUS_INVSRC

static final int STATUS_INVSRC
See Also:
Constant Field Values

STATUS_INVDST

static final int STATUS_INVDST
See Also:
Constant Field Values

STATUS_INVMSGID

static final int STATUS_INVMSGID
See Also:
Constant Field Values

STATUS_CANCEL_FAILED

static final int STATUS_CANCEL_FAILED
See Also:
Constant Field Values

STATUS_REPLACE_FAILED

static final int STATUS_REPLACE_FAILED
See Also:
Constant Field Values

STATUS_MSGQFULL

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

getId

int getId()
Returns a unique identifer that identifies this transaction.


getLastActivity

java.util.Date getLastActivity()
Gets the date and time of the last activity of this transaction.

Returns:
the date object.


Copyright © 2008. All Rights Reserved.