public class MigratableChannelEnd
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static MigratableChannelEndFactory |
FACTORY
Standard factory for anonymous channel ends.
|
private static NamedMigratableChannelEndFactory |
NAMED_FACTORY
Factory for named channel ends.
|
Modifier | Constructor and Description |
---|---|
private |
MigratableChannelEnd()
Creates a new
MigratableChannelEnd object. |
Modifier and Type | Method and Description |
---|---|
static MigratableAltingChannelInput |
createNet2One()
Creates an anonymous migratable channel input.
|
static MigratableAltingChannelInput |
createNet2One(java.lang.String name)
Creates a named migratable channel input using the default namespace.
|
static MigratableAltingChannelInput |
createNet2One(java.lang.String name,
NameAccessLevel nameAccessLevel)
Creates a named migratable channel input within the given namespace.
|
static MigratableChannelOutput |
createOne2Net(NetChannelLocation loc)
Creates a migratable channel output to a given location.
|
static MigratableChannelOutput |
createOne2Net(java.lang.String name)
Creates a migratable channel output to a named channel within the default namespace.
|
static MigratableChannelOutput |
createOne2Net(java.lang.String name,
NameAccessLevel nameAccessLevel)
Creates a migratable channel output to a named channel within a given namespace.
|
private static MigratableChannelEndFactory FACTORY
private static NamedMigratableChannelEndFactory NAMED_FACTORY
private MigratableChannelEnd()
MigratableChannelEnd
object. This is private to prevent any
instances from being created. This class contains only static methods.public static MigratableAltingChannelInput createNet2One()
public static MigratableChannelOutput createOne2Net(NetChannelLocation loc)
loc
- location of the input end of the channel.public static MigratableAltingChannelInput createNet2One(java.lang.String name)
name
- the name of the channel to register with the CNS.public static MigratableAltingChannelInput createNet2One(java.lang.String name, NameAccessLevel nameAccessLevel)
name
- the name of the channel to register with the CNS.nameAccessLevel
- the namespace to register the name within.public static MigratableChannelOutput createOne2Net(java.lang.String name)
name
- the name of the channel as registered with the CNS.public static MigratableChannelOutput createOne2Net(java.lang.String name, NameAccessLevel nameAccessLevel)
name
- the name of the channel as registered with the CNS.nameAccessLevel
- the namespace the name is registered within.