org.testng.remote.strprotocol
Interface IMessageSender

All Known Implementing Classes:
BaseMessageSender, SerializedMessageSender, StringMessageSender

public interface IMessageSender


Method Summary
 voidconnect()
           
 voidinitReceiver()
          Initialize the receiver.
 IMessagereceiveMessage()
          Will return null or throw EOFException when the connection has been severed.
 voidsendAck()
           
 voidsendMessage(IMessage message)
           
 voidsendStop()
           
 voidshutDown()
           
 

Method Detail

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


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