org.testng.remote.strprotocol
Class StringMessageSender

java.lang.Object  extended by org.testng.remote.strprotocol.BaseMessageSender      extended by org.testng.remote.strprotocol.StringMessageSender
All Implemented Interfaces:
IMessageSender

public class StringMessageSender
extends BaseMessageSender


Field Summary
 
Fields inherited from class org.testng.remote.strprotocol.BaseMessageSender
m_ackLock, m_clientSocket, m_inReader, m_inStream, m_outStream
 
Constructor Summary
StringMessageSender(String host, int port)
           
StringMessageSender(String host, int port, boolean ack)
           
 
Method Summary
protected  voidhandleThrowable(Throwable cause)
           
 IMessagereceiveMessage()
          Will return null or throw EOFException when the connection has been severed.
 voidsendMessage(IMessage message)
           
 
Methods inherited from class org.testng.remote.strprotocol.BaseMessageSender
connect, initReceiver, sendAck, sendStop, shutDown, waitForAck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringMessageSender

public StringMessageSender(String host,                           int port)

StringMessageSender

public StringMessageSender(String host,                           int port,                           boolean ack)
Method Detail

sendMessage

public void sendMessage(IMessage message)

receiveMessage

public IMessage receiveMessage()
Description copied from interface: IMessageSender
Will return null or throw EOFException when the connection has been severed.


handleThrowable

protected void handleThrowable(Throwable cause)


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14