C E G H I O R S
C
- com.ibm.rational.test.lt.execution.socket.custom - package com.ibm.rational.test.lt.execution.socket.custom
-
E
- EndOfStream -
Static variable in interface com.ibm.rational.test.lt.execution.socket.custom.ISckCustomReceivePolicy
-
G
- getConnectionHolder() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckReceiveAction
-
- getConnectionHolder() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckSendAction
-
- getCurrentlyReceivedBytes() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
- Only available before the receive action is terminated by a call to receiveSuccess() or
handleException().
Otherwise, make use of getFinallyReceivedBytes()
.
- getCurrentlyReceivedBytesCount() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
- Only available before the receive action is terminated by a call to receiveSuccess() or
handleException().
Otherwise, make use of getFinallyReceivedBytes()
.
- getFinallyReceivedBytes() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
- Only available after the receive action is terminated by a call to receiveSuccess() or
handleException().
Otherwise, make use of getCurrentlyReceivedBytes()
.
- getFinallyReceivedBytesCount() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
- Only available after the receive action is terminated by a call to receiveSuccess() or
handleException().
Otherwise, make use of getCurrentlyReceivedBytesCount()
.
- getHostName() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
-
- getLastConnectOrSendTimeStamp() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
- As a result of a call to
System.currentTimeMillis()
, timestamps are collected by the
connection holder when the Connection and the Send actions are actually done.
- getLastSentBytes() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
-
- getLastSentBytesCount() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
-
- getPort() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
-
- getResponseTime() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
-
H
- handleException(Throwable) -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckReceiveAction
- Must be called from the Custom Receive Policy code when an exception is catched.
This terminates the current action and the Test goes on with the next action.
The action will be marked as failed in the Test Log viewer.
- handleException(Throwable) -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckSendAction
- Must be called from the Custom Receive Policy code when an exception is catched.
This terminates the current action and the Test goes on with the next action.
The action will be marked as failed in the Test Log viewer.
I
- ISckConnectionHolder - Interface in com.ibm.rational.test.lt.execution.socket.custom
- ISckConnectionHolder is the interface to the underlying connection.
- ISckCustomReceivePolicy - Interface in com.ibm.rational.test.lt.execution.socket.custom
- ISckCustomReceivePolicy is the interface that Custom Receive Policy writers must implement.
The customized receive action, whom a reference is passed through receiveActionRef parameter
of the setup() method, is responsible for actually reading the received bytes on the wire and also
for the response and end timeouts.
- ISckCustomSend - Interface in com.ibm.rational.test.lt.execution.socket.custom
- ISckCustomSend is the interface that Custom Send writers must implement.
The customized send action, whom a reference is passed through sendActionRef parameter
of the setup() method, lets a chance to form/encode/check the sent data before it goes on the wire.
- ISckReceiveAction - Interface in com.ibm.rational.test.lt.execution.socket.custom
- ISckReceiveAction is the interface to the built-in Receive action instance.
It is intended for use from a Custom Receive Policy instance, implementing ISckCustomReceivePolicy.
- ISckSendAction - Interface in com.ibm.rational.test.lt.execution.socket.custom
- ISckSendAction is the interface to the built-in Send action instance.
It is intended for use from a Custom Send instance, implementing ISckCustomSend.
- isConnected() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
-
- isEndOfStream() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
-
O
- onAfterSubstitution(byte[]) -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckCustomSend
- Called after the substitutions are applied on the data to be sent
- onBeforeSubstitution(byte[]) -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckCustomSend
- Called before the substitutions are applied on the data to be sent
- onRead(int) -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckCustomReceivePolicy
- Called like an hook each time a new byte is received on the wire during the execution of the
customized receive action.
R
- receiveSuccess() -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckReceiveAction
- Must be called from the Custom Receive Policy code when it has received enough bytes, verifying
some custom condition.
This terminates the current action and the Test goes on with the next action.
The action will be marked as successful in the Test Log viewer.
S
- setResponseTime(int) -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckConnectionHolder
- Sets the response time to be reported.
Overrides the default value that can be retrieved by a call to getResponseTime()
.
See getResponseTime for the explanation about the default value.
Make use of getLastConnectOrSendTimeStamp()
to get the timestamp of the starting event.
- setup(ITestExecutionServices, ISckReceiveAction) -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckCustomReceivePolicy
- Setup is called the first time the customized receive action is executed, before any bytes are
received from the remote peer.
- setup(ITestExecutionServices, ISckSendAction) -
Method in interface com.ibm.rational.test.lt.execution.socket.custom.ISckCustomSend
- Setup is called before the customized send action is executed.
C E G H I O R S