org.iids.aos.kernel.mux
Class SelectRendezvous

java.lang.Object
  extended by org.iids.aos.kernel.mux.SelectRendezvous

public class SelectRendezvous
extends java.lang.Object

Class to do synchronization between connections and data coming in and errors occuring as preceived by the network-reading threads and the "client" threads that called select().

Author:
arno

Constructor Summary
SelectRendezvous()
          Creates a new instance of SelectRendezvous
 
Method Summary
 void dropoffEvent()
          Called by network thread to signal arrival of a message
 void pickupEvent()
          Called by select() thread in blocking mode to see if anything changed on the ConnectionPorts or ListenPorts it's interested in
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectRendezvous

public SelectRendezvous()
Creates a new instance of SelectRendezvous

Method Detail

pickupEvent

public void pickupEvent()
                 throws UnknownRoleException
Called by select() thread in blocking mode to see if anything changed on the ConnectionPorts or ListenPorts it's interested in

Throws:
UnknownRoleException

dropoffEvent

public void dropoffEvent()
Called by network thread to signal arrival of a message



Copyright © 2003, 2004 IIDS Group. All Rights Reserved.