List of usage examples for org.apache.commons.exec TimeoutObserver interface-usage
From source file edu.biu.scapi.comm.twoPartyComm.SocketCommunicationSetup.java
/**
* This class implements a communication between two parties using TCP sockets.<p>
* Each created channel contains two sockets; one is used to send messages and one to receive messages.<p>
* This class encapsulates the stage of connecting to other parties. In actuality, the connection to other parties is
* performed in a few steps, which are not visible to the outside user.
* These steps are:<p>
From source file edu.biu.scapi.comm.twoPartyComm.QueueCommunicationSetup.java
/**
* A communication setup class that uses the JMS API for sending and receiving messages.<p>
* This implementation uses the JMS API for sending and receiving messages.
*
* JMS enables distributed communication that is loosely coupled. A component sends a message to a destination,
* and the recipient can retrieve the message from the destination. However, the sender and the receiver do not
From source file edu.biu.scapi.comm.CommunicationSetup.java
/**
* The CommunicationSetup class is the heart of the Communications Layer. The Communications Layer package is a tool used by a client that is interested in setting up connections
* between itself and other parties. As such, this layer does not initiate any independent tasks, but the opposite. Given a list of parties, it attempts to set connections to them
* according to parameters given by the calling application. If succeeds, it returns these connections so that the calling client can send and receive data over them.<p>
* An application written for running an MPC protocol can be the client of the Communications Layer. An example of a possible usage follows:<p>
* <ul>