SCS

scs.event_service.servant
Class ChannelCollectionServant

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by scs.event_service.ChannelCollectionPOA
          extended by scs.event_service.servant.ChannelCollectionServant
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, ChannelCollectionOperations

public class ChannelCollectionServant
extends ChannelCollectionPOA

Classe que implementa o servant da interface scs::event_service::ChannelCollection::ChannelCollection.


Constructor Summary
ChannelCollectionServant()
           
 
Method Summary
 void addChannel(java.lang.String name, IComponent evCh)
          Adiciona um novo elemento ao container interno de EventChannels
 ChannelDescr[] getAll()
           
 IComponent getChannel(java.lang.String name)
           
 void removeChannel(java.lang.String name)
          Remove um canal existente do container interno
 
Methods inherited from class scs.event_service.ChannelCollectionPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelCollectionServant

public ChannelCollectionServant()
Method Detail

addChannel

public void addChannel(java.lang.String name,
                       IComponent evCh)
                throws NameAlreadyInUse
Adiciona um novo elemento ao container interno de EventChannels

Parameters:
name - nome do novo canal
evCh - canal de eventos a ser adicionado
Throws:
NameAlreadyInUse - caso o nome do canal j� exista

removeChannel

public void removeChannel(java.lang.String name)
                   throws InvalidName
Remove um canal existente do container interno

Parameters:
name - nome do canal
Throws:
InvalidName - caso o canal n�o exista no container

getAll

public ChannelDescr[] getAll()

getChannel

public IComponent getChannel(java.lang.String name)

SCS