






DataInputPort
/**
* Waits for data to come. If some data exist in the internal queue,
* returns the data in a FIFO order immediatery.
* If a non-null MessageListener is already set, a communication exception
* will be thrown.
*
* @return received message
* @throws CommunicationException an error
*/
Message receive() throws IOException;
/**
* Waits data for specified mili-seconds. If some data exist in the internal queue,
* returns the data in a FIFO order immediatery.
* If a non-null MessageListener is already set, a communication exception
* will be thrown.
*
* @return received message
* @throws CommunicationException an error
*/
Message receive(long msec) throws IOException;
Link to this Page