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
IOException
void initReceiver() throws SocketTimeoutException
SocketException
- This exception will be thrown if a connection
to the remote TestNG instance could not be established after ten
seconds.SocketTimeoutException
IMessage receiveMessage() throws Exception
Exception
void shutDown()
void sendAck()
void sendStop()
Copyright © 2015. All rights reserved.