public interface ISckReceiveAction
ISckReceiveAction is the interface to the built-in Receive action instance.
It is intended for use from a Custom Receive Policy instance, implementing ISckCustomReceivePolicy.
Method Summary | |
---|---|
ISckConnectionHolder |
getConnectionHolder()
|
void |
handleException(java.lang.Throwable t)
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. |
void |
receiveSuccess()
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. |
Method Detail |
---|
void handleException(java.lang.Throwable t)
t
- the Throwable (or Exception) to log into Test Logvoid receiveSuccess()
ISckConnectionHolder getConnectionHolder()