com.isti.trinetwatch.server
Class S2CA_impl

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.omg.CORBA.DynamicImplementation
          extended byorg.omg.CosEventComm._PushSupplierImplBase
              extended bycom.isti.trinetwatch.server.S2CA_impl
All Implemented Interfaces:
org.omg.CORBA.Object, org.omg.CosEventComm.PushSupplier

class S2CA_impl
extends org.omg.CosEventComm._PushSupplierImplBase

Class S2CA_impl manages all requests sent to collection agents.


Field Summary
 
Fields inherited from class org.omg.CosEventComm._PushSupplierImplBase
 
Constructor Summary
S2CA_impl(Server serverObj, org.omg.CosEventComm.PushConsumer caConsumer)
          Creates an object of S2CA_impl.
 
Method Summary
 void disconnect_push_supplier()
          Disconnect from the event channel.
 boolean getAll()
          Method getAll sends a message to the collection agent requesting the static parameter information for all of the stations.
 boolean getStation(java.lang.String stationName)
          Method getStation sends a message to the collection agent requesting the static parameters for one particular station.
 
Methods inherited from class org.omg.CosEventComm._PushSupplierImplBase
_ids, invoke
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

S2CA_impl

public S2CA_impl(Server serverObj,
                 org.omg.CosEventComm.PushConsumer caConsumer)
Creates an object of S2CA_impl.

Parameters:
serverObj - A handle to the Server object.
caConsumer - A handle to the ENA-RQ channel to be used.
Method Detail

disconnect_push_supplier

public void disconnect_push_supplier()
Disconnect from the event channel.


getStation

public boolean getStation(java.lang.String stationName)
Method getStation sends a message to the collection agent requesting the static parameters for one particular station.

Parameters:
stationName - A string containing the name of station whose static parameters are desired.
Returns:
A boolean. True if the message was correctly sent. False otherwise.

getAll

public boolean getAll()
Method getAll sends a message to the collection agent requesting the static parameter information for all of the stations.

Returns:
A boolean. True if the message was sent successfully. False otherwise.