public interface IMessageSender
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
initReceiver()
Initialize the receiver.
|
IMessage |
receiveMessage()
Will return null or throw EOFException when the connection has been severed.
|
void |
sendAck() |
void |
sendMessage(IMessage message) |
void |
sendStop() |
void |
shutDown() |
void connect()
throws IOException
IOExceptionvoid initReceiver()
throws SocketTimeoutException
SocketException - This exception will be thrown if a connection
to the remote TestNG instance could not be established after ten
seconds.SocketTimeoutExceptionIMessage receiveMessage() throws Exception
Exceptionvoid shutDown()
void sendAck()
void sendStop()
Copyright © 2015. All Rights Reserved.