Class CNSChannelEndManager

  • All Implemented Interfaces:
    NamedChannelEndFactory, NamedChannelEndManager

    public class CNSChannelEndManager
    extends java.lang.Object
    implements NamedChannelEndManager
    This class implements the NamedChannelEndManager interface; providing methods for both constructing and destroying channels. This implementation uses the standard Channel Name Server. Instances interact with a local CNSService through the use of a CNSUser object. The default constructor assumes the use of the default CNS service and obtains the reference itself. The constructor which takes a CNSUser object allows the use of an alternative CNS service. A CNSUser object can be obtained by calling a CNSService object's getUserObject() method (CNSService.getUserObject()). For further information see NamedChannelEndFactory.
    Author:
    Quickstone Technologies Limited
    See Also:
    NamedChannelEndFactory, NamedChannelEndManager, CNSService
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NetSharedChannelOutput createAny2Net​(java.lang.String name)
      Constructs a NetSharedChannelOutput object connected to a NetChannelInput located at a location resolved from the specified channel name.
      NetSharedChannelOutput createAny2Net​(java.lang.String name, NameAccessLevel accessLevel)
      Constructs a NetSharedChannelOutput object connected to a NetChannelInput located at a location resolved from the specified channel name that exists in the supplied namespace.
      NetSharedChannelInput createNet2Any​(java.lang.String name)
      Constructs a NetSharedChannelInput object and registers its location with the supplied name in the global namespace of a channel naming service.
      NetSharedChannelInput createNet2Any​(java.lang.String name, NameAccessLevel nameAccessLevel)
      Constructs a NetSharedChannelInput object and registers its location with the supplied name in specified namespace of a channel naming service.
      NetAltingChannelInput createNet2One​(java.lang.String name)
      Constructs a NetAltingChannelInput object and registers its location with the supplied name in the global namespace of a channel naming service.
      NetAltingChannelInput createNet2One​(java.lang.String name, NameAccessLevel nameAccessLevel)
      Constructs a NetAltingChannelInput object and registers its location with the supplied name in specified namespace of a channel naming service.
      NetChannelOutput createOne2Net​(java.lang.String name)
      Constructs a NetChannelOutput object connected to a NetChannelInput located at a location resolved from the specified channel name.
      NetChannelOutput createOne2Net​(java.lang.String name, NameAccessLevel accessLevel)
      Constructs a NetChannelOutput object connected to a NetChannelInput located at a location resolved from the specified channel name that exists in the supplied namespace.
      void destroyAllChannelEnds()
      Destroys all channel ends constructed with this instance of the factory.
      void destroyChannelEnd​(NetChannelInput chanInEnd)
      Destroys an individual NetChannelInput object that was constructed with this instance.
      void destroyChannelEnd​(NetChannelOutput chanOutEnd)
      Destroys an individual NetChannelOutput object that was constructed with this instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait