org.testng.remote.strprotocol
Class SerializedMessageSender

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

public class SerializedMessageSender
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
SerializedMessageSender(String host, int port)
           
SerializedMessageSender(String host, int port, boolean ack)
           
 
Method Summary
 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

SerializedMessageSender

public SerializedMessageSender(String host,                               int port)

SerializedMessageSender

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

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 © 2012. All Rights Reserved.


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