Class semper.comm.ChannelBlockedOpen
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.comm.ChannelBlockedOpen

java.lang.Object
   |
   +----semper.comm.ChannelBlockedOpen

public class ChannelBlockedOpen
extends Object
Defines a class for holding the context of the blocked openResponderChannel invocations.
Version:
beta-4, 12.8.96
Author:
Mehdi Nassehi

Constructor Index

 o ChannelBlockedOpen(String, long, ComPoint[])
Creats a ChannelBlockedOpen.

Method Index

 o getaComPoint()
Returns the ComPoint one-element-array.
 o getCorrelator()
Returns the correlator.
 o getExpiryTime()
Returns the expiry time.
 o getNotified()
Returns the boolean notify.
 o notifySync()
encapsulation of notify in a synchronized method
 o waitSync(long)
encapsulation of wait in a synchronized method

Constructors

 o ChannelBlockedOpen
  public ChannelBlockedOpen(String correlator,
                            long expiryTime,
                            ComPoint aComPoint[])
Creats a ChannelBlockedOpen. Parameters that are single element arrays are used to pass basic types by reference.
Parameters:
correlator - the correlator under which this object is saved in the hash table, used to facilitate the removing expired objects
expiryTime - the expiry time of this object
aComPoint - one element array containing the ComPoint of the returned channel
expiryTime - the expiry time of this object

Methods

 o getCorrelator
  public String getCorrelator()
Returns the correlator.
 o getNotified
  public boolean getNotified()
Returns the boolean notify.
 o getExpiryTime
  public long getExpiryTime()
Returns the expiry time.
 o getaComPoint
  public ComPoint[] getaComPoint()
Returns the ComPoint one-element-array.
 o waitSync
  public synchronized void waitSync(long timeOut) throws InterruptedException
encapsulation of wait in a synchronized method
Throws: InterruptedException
interrupted exception
 o notifySync
  public synchronized void notifySync() throws InterruptedException
encapsulation of notify in a synchronized method
Throws: InterruptedException
interrupted exception

All Packages  Class Hierarchy  This Package  Previous  Next  Index