|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCoConnectionData
This class provides some details for an RFC connection.
Field Summary | |
---|---|
static int |
STATE_ACTIVE
Connection state flag: Connection is active. |
static int |
STATE_STATEFUL
Connection state flag: Connection is stateful. |
Method Summary | |
---|---|
java.lang.String |
getAbapClient()
Returns the client used in the ABAP system. |
java.lang.String |
getAbapHost()
Returns the host where the current or last call was executed or from where the current or last request was received. |
java.lang.String |
getAbapLanguage()
Returns the language used in the ABAP system. |
java.lang.String |
getAbapSystemNumber()
Returns the system number of the ABAP server where the current or last call was executed or from where the current or last request was received. |
java.lang.String |
getAbapUser()
Returns the user name used in the ABAP system. |
java.lang.String |
getApplicationName()
Returns the application name. |
long |
getConnectionHandle()
Returns the connection handle. The connection handle is unique within the JVM process. |
java.lang.String |
getConnectionHandleAsString()
Returns the connection handle as a String. The connection handle is unique within the JVM process. |
java.lang.String |
getConnectionType()
Returns the connection type, which is 'client' or 'server'. |
java.lang.String |
getConvId()
Returns the current conversation id. |
byte[] |
getDSRPassport()
Returns the byte representation of the DSR passport. |
java.lang.String |
getDSRPassportAsString()
Returns the DSR passport as a hexadecimal string. |
java.lang.String |
getFunctionModuleName()
Returns the name of the function module that is currently being executed or has been executed last. |
java.lang.String |
getGroupName()
Returns the name of the connection group. The connection groups is either a client pool id or a server group id. |
long |
getLastActivityTimestamp()
Returns the timestamp of the last activity of the connection. |
java.lang.String |
getLastActivityTimestampAsString(java.util.Calendar calendar)
Returns the timestamp of the last activity of the connection as a String. For example: '2007-02-28|16:41:59.123' |
java.lang.String |
getProtocol()
Returns the communication protocol. Currently this is always 'RFC'. |
java.lang.String |
getSessionId()
Returns the client or server internal session id. |
int |
getState()
Returns a flag that indicates the activity state of the connection. The connection activity state is either STATE_ACTIVE or STATE_STATEFUL . |
java.lang.String |
getStateAsString()
Returns the activity state of the connection as String. For example: 'ACTIVE|STATEFUL' |
java.lang.String |
getSystemID()
Returns the system id of the ABAP server, to which the connection is established. |
long |
getThreadId()
Returns the thread ID of the thread, in which the connection was last used. |
java.lang.String |
getThreadIdAsString()
Returns the thread ID as a String of the thread, in which the connection was last used. |
java.lang.String |
getThreadName()
Returns the thread name of the thread, in which the connection was last used. |
Field Detail |
---|
static final int STATE_ACTIVE
static final int STATE_STATEFUL
Method Detail |
---|
java.lang.String getProtocol()
java.lang.String getSessionId()
null
otherwisejava.lang.String getFunctionModuleName()
byte[] getDSRPassport()
null
otherwisejava.lang.String getConnectionType()
java.lang.String getSystemID()
java.lang.String getAbapHost()
java.lang.String getAbapSystemNumber()
java.lang.String getAbapClient()
null
otherwisejava.lang.String getAbapUser()
null
otherwisejava.lang.String getAbapLanguage()
null
otherwisejava.lang.String getConvId()
null
in case of an inactive server connectionjava.lang.String getApplicationName()
null
otherwisejava.lang.String getGroupName()
int getState()
STATE_ACTIVE
or STATE_STATEFUL
.
long getLastActivityTimestamp()
java.lang.String getStateAsString()
java.lang.String getDSRPassportAsString()
java.lang.String getLastActivityTimestampAsString(java.util.Calendar calendar)
calendar
- the calender instance to be used for converting the timestamp value into
a human readable format
long getThreadId()
java.lang.String getThreadIdAsString()
java.lang.String getThreadName()
long getConnectionHandle()
java.lang.String getConnectionHandleAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |