org.testng.remote.strprotocol
Class StringMessageSenderHelper
java.lang.Object
org.testng.remote.strprotocol.StringMessageSenderHelper
public class StringMessageSenderHelper
- extends Object
String based socket based communication.
- Author:
- Alexandru Popescu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringMessageSenderHelper
public StringMessageSenderHelper(String host,
int port)
connect
public boolean connect()
- Starts the connection.
- Returns:
- true if the connection was successfull, false otherwise
- Throws:
TestNGException
- if an exception occured while establishing the connection
shutDown
public void shutDown()
- Shutsdown the connection to the remote test listener.
sendMessage
public void sendMessage(IMessage message)
sendMessage
public void sendMessage(IStringMessage message)
Copyright © 2010. All Rights Reserved.