VisiBroker for Java

org.omg.CosEventChannelAdmin
Interface EventChannelFactoryOperations

All Known Subinterfaces:
EventChannelFactory

public interface EventChannelFactoryOperations

The EventChannelFactory interface provides methods for creating, locating event channels.


Method Summary
 EventChannel create_by_name(java.lang.String name)
          Creates a named, persistent EventChannel.
 EventChannel create()
          Creates an anonymous EventChannel.
 void destroy()
          Destroys this EventChannelFactory.
 EventChannel lookup_by_name(java.lang.String name)
          Attempts to return the EventChannel with the specified name.
 

Method Detail

destroy

void destroy()
             throws ChannelsExist
Destroys this EventChannelFactory. All the event channels created by this factory should have been destroyed otherwise ChannelExists exception is raised.

Throws:
org.omg.CosEventChannelAdmin.EventChannelFactoryPackage.ChannelExists
ChannelsExist

lookup_by_name

EventChannel lookup_by_name(java.lang.String name)
Attempts to return the EventChannel with the specified name.

Parameters:
name - Name of the EventChannel to look up.
Returns:
the EventChannel with the specified name, NULL if no EventChannel with the specified name exists.

create_by_name

EventChannel create_by_name(java.lang.String name)
                            throws AlreadyExists
Creates a named, persistent EventChannel.

Parameters:
name - Name of the EventChannel.
Returns:
the created EventChannel.
Throws:
AlreadyExists - exception is thrown if the EventChannel with the specified name is already created.

create

EventChannel create()
Creates an anonymous EventChannel.


Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online