public interface JCoConnectionData
Modifier and Type | Field and Description |
---|---|
static int |
STATE_ACTIVE
Connection state flag: Connection is active.
|
static int |
STATE_STATEFUL
Connection state flag: Connection is stateful.
|
Modifier and Type | Method and Description |
---|---|
String |
getAbapClient()
Returns the client used in the ABAP system.
|
String |
getAbapHost()
Returns the host where the current or last call was executed or
from where the current or last request was received.
|
String |
getAbapLanguage()
Returns the language used in the ABAP system.
|
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.
|
String |
getAbapUser()
Returns the user name used in the ABAP system.
|
String |
getApplicationName()
Returns the application name.
|
long |
getConnectionHandle()
Returns the connection handle.
The connection handle is unique within the JVM process. |
String |
getConnectionHandleAsString()
Returns the connection handle as a String.
The connection handle is unique within the JVM process. |
String |
getConnectionType()
Returns the connection type, which is 'client' or 'server'.
|
String |
getConvId()
Returns the current conversation id.
|
byte[] |
getDSRPassport()
Returns the byte representation of the DSR passport.
|
String |
getDSRPassportAsString()
Returns the DSR passport as a hexadecimal string.
|
String |
getFunctionModuleName()
Returns the name of the function module that is currently being executed or has been executed as last one.
|
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.
|
String |
getLastActivityTimestampAsString(Calendar calendar)
Returns the timestamp of the last activity of the connection as a String.
For example: '2007-02-28|16:41:59.123' |
String |
getProtocol()
Returns the communication protocol.
Currently this is always 'RFC'. |
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 . |
String |
getStateAsString()
Returns the activity state of the connection as String.
For example: 'ACTIVE|STATEFUL' |
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.
|
String |
getThreadIdAsString()
Returns the thread ID as a String of the thread, in which the connection was last used.
|
String |
getThreadName()
Returns the thread name of the thread, in which the connection was last used.
|
static final int STATE_ACTIVE
static final int STATE_STATEFUL
String getProtocol()
String getSessionId()
null
otherwiseString getFunctionModuleName()
byte[] getDSRPassport()
null
otherwiseString getConnectionType()
String getSystemID()
String getAbapHost()
String getAbapSystemNumber()
String getAbapClient()
null
otherwiseString getAbapUser()
null
otherwiseString getAbapLanguage()
null
otherwiseString getConvId()
null
in case of an inactive server connectionString getApplicationName()
null
otherwiseString getGroupName()
int getState()
STATE_ACTIVE
or STATE_STATEFUL
.long getLastActivityTimestamp()
String getStateAsString()
String getDSRPassportAsString()
String getLastActivityTimestampAsString(Calendar calendar)
calendar
- the calender instance to be used for converting the timestamp value into
a human readable formatlong getThreadId()
String getThreadIdAsString()
String getThreadName()
long getConnectionHandle()
String getConnectionHandleAsString()
Copyright © 2018 SAP. All Rights Reserved.