es.iac.ing.codeso.status.client
Class StatusItemProxyBoolean

java.lang.Object
  extended by es.iac.ing.codeso.status.client.StatusItemProxy<StatusItemDescriptorBoolean,StatusItemValueBoolean>
      extended by es.iac.ing.codeso.status.client.StatusItemProxyBoolean

@ThreadSafe
public class StatusItemProxyBoolean
extends StatusItemProxy<StatusItemDescriptorBoolean,StatusItemValueBoolean>

A proxy designed to connect to a remote status item of CODESO IDL-specified type: STATUS_TYPE_BOOLEAN.

This class is thread-safe.


Field Summary
 
Fields inherited from class es.iac.ing.codeso.status.client.StatusItemProxy
publisherProxy
 
Constructor Summary
StatusItemProxyBoolean(CorbaName corbaName)
          Constructs an instance with the default connection policy.
StatusItemProxyBoolean(CorbaName corbaName, StatusItemProxyConnectionPolicy statusItemProxyConnectionPolicy)
          Constructs an instance with the specified connection policy.
 
Method Summary
 
Methods inherited from class es.iac.ing.codeso.status.client.StatusItemProxy
activate, addListener, awaitConnection, awaitEvent, deleteListener, getCorbaName, getProxyInfo, getStatistics, isActive, isConnected, isShutdown, shutdown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatusItemProxyBoolean

public StatusItemProxyBoolean(CorbaName corbaName)
Constructs an instance with the default connection policy.

Once created the status item proxy will remain dormant until activated via the activate method.

Parameters:
corbaName - CorbaName specifying the name of the StatusItem to connect to and the location of the CORBA Naming Service on which it is advertised.
Throws:
java.lang.NullPointerException - if the corbaName parameter was null.

StatusItemProxyBoolean

public StatusItemProxyBoolean(CorbaName corbaName,
                              StatusItemProxyConnectionPolicy statusItemProxyConnectionPolicy)
Constructs an instance with the specified connection policy.

Once created the status item proxy will remain dormant until activated via the activate method.

Parameters:
corbaName - CorbaName specifying the name of the remote status item to connect to and the location of the CORBA Naming Service on which it is expected to be registered.
statusItemProxyConnectionPolicy - reference to an object that will define the policies to be used when connecting with this proxy's remote status item.
Throws:
java.lang.NullPointerException - if either of the reference parameters were null.