scs.event_service.servant
Class ChannelCollectionServant
java.lang.Object
org.omg.PortableServer.Servant
scs.event_service.ChannelCollectionPOA
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.
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 |
ChannelCollectionServant
public ChannelCollectionServant()
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 canalevCh
- 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)