Package org.jcsp.net.dynamic
Class MigratableChannelEndFactory
java.lang.Object
org.jcsp.net.dynamic.MigratableChannelEndFactory
- All Implemented Interfaces:
NetChannelEndFactory
Factory for creating networked migratable channel ends. An instance of this can be created and
the methods used. Alternatively the static methods in
MigratableChannelEnd can be
used to create the channel ends.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static NetChannelEndFactoryDefault channel factory for creating the underlying channels. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConstructs aNetSharedChannelOutputobject.Constructs aNetSharedChannelInputobject.Constructs aNetAltingChannelInputobject.Constructs aNetChannelOutputobject.
-
Field Details
-
FACTORY
Default channel factory for creating the underlying channels.
-
-
Constructor Details
-
MigratableChannelEndFactory
public MigratableChannelEndFactory()Constructs a newMigratableChannelEndFactory.
-
-
Method Details
-
createNet2One
Description copied from interface:NetChannelEndFactoryConstructs a
NetAltingChannelInputobject.- Specified by:
createNet2Onein interfaceNetChannelEndFactory- Returns:
- the constructed
NetAltingChannelInputobject. - See Also:
-
createNet2Any
Description copied from interface:NetChannelEndFactoryConstructs a
NetSharedChannelInputobject.- Specified by:
createNet2Anyin interfaceNetChannelEndFactory- Returns:
- the constructed
NetSharedChannelInputobject. - See Also:
-
createOne2Net
Description copied from interface:NetChannelEndFactoryConstructs a
NetChannelOutputobject.- Specified by:
createOne2Netin interfaceNetChannelEndFactory- Returns:
- the constructed
NetChannelOutputobject. - See Also:
-
createAny2Net
Description copied from interface:NetChannelEndFactoryConstructs a
NetSharedChannelOutputobject.- Specified by:
createAny2Netin interfaceNetChannelEndFactory- Returns:
- the constructed
NetSharedChannelOutputobject. - See Also:
-