org.jboss.remoting.samples.chat.utility
Class ShutDownGate

java.lang.Object
  extended by org.jboss.remoting.samples.chat.utility.ShutDownGate
All Implemented Interfaces:
java.io.Serializable

public class ShutDownGate
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ShutDownGate()
           
 
Method Summary
 void check()
           
 void enter()
           
 boolean isShuttingDown()
           
 void leave()
           
 void reset()
           
 void shutDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShutDownGate

public ShutDownGate()
Method Detail

reset

public void reset()

check

public void check()
           throws ShuttingDownException
Throws:
ShuttingDownException

isShuttingDown

public boolean isShuttingDown()

enter

public void enter()
           throws ShuttingDownException
Throws:
ShuttingDownException

leave

public void leave()

shutDown

public void shutDown()


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.