org.testng.remote.strprotocol
Interface IMessageSender
- All Known Implementing Classes:
- BaseMessageSender, SerializedMessageSender, StringMessageSender
public interface IMessageSender
connect
void connect()
throws IOException
- Throws:
IOException
initReceiver
void initReceiver()
throws SocketTimeoutException
- Initialize the receiver.
- Throws:
SocketException
- This exception will be thrown if a connection
to the remote TestNG instance could not be established after ten
seconds.
SocketTimeoutException
sendMessage
void sendMessage(IMessage message)
throws Exception
- Throws:
Exception
receiveMessage
IMessage receiveMessage()
throws Exception
- Will return null or throw EOFException when the connection has been severed.
- Throws:
Exception
shutDown
void shutDown()
sendAck
void sendAck()
sendStop
void sendStop()
Copyright © 2011. All Rights Reserved.