org.testng.remote.strprotocol
Class SerializedMessageSender
java.lang.Object
org.testng.remote.strprotocol.BaseMessageSender
org.testng.remote.strprotocol.SerializedMessageSender
- All Implemented Interfaces:
- IMessageSender
public class SerializedMessageSender
- extends BaseMessageSender
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedMessageSender
public SerializedMessageSender(String host,
int port)
sendMessage
public void sendMessage(IMessage message)
throws IOException
- Throws:
IOException
receiveMessage
public IMessage receiveMessage()
throws IOException,
ClassNotFoundException
- Description copied from interface:
IMessageSender
- Will return null or throw EOFException when the connection has been severed.
- Throws:
IOException
ClassNotFoundException
Copyright © 2011. All Rights Reserved.