Package org.jcsp.net.dynamic
Class MigratableChannelEndFactory
- java.lang.Object
-
- org.jcsp.net.dynamic.MigratableChannelEndFactory
-
- All Implemented Interfaces:
NetChannelEndFactory
public class MigratableChannelEndFactory extends Object implements NetChannelEndFactory
Factory for creating networked migratable channel ends. An instance of this can be created and the methods used. Alternatively the static methods inMigratableChannelEndcan be used to create the channel ends.- Author:
- Quickstone Technologies Limited
-
-
Constructor Summary
Constructors Constructor Description MigratableChannelEndFactory()Constructs a newMigratableChannelEndFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetSharedChannelOutputcreateAny2Net(NetChannelLocation loc)Constructs aNetSharedChannelOutputobject.NetSharedChannelInputcreateNet2Any()Constructs aNetSharedChannelInputobject.NetAltingChannelInputcreateNet2One()Constructs aNetAltingChannelInputobject.NetChannelOutputcreateOne2Net(NetChannelLocation loc)Constructs aNetChannelOutputobject.
-
-
-
Method Detail
-
createNet2One
public NetAltingChannelInput createNet2One()
Description copied from interface:NetChannelEndFactoryConstructs a
NetAltingChannelInputobject.- Specified by:
createNet2Onein interfaceNetChannelEndFactory- Returns:
- the constructed
NetAltingChannelInputobject. - See Also:
NetChannelEndFactory.createNet2One()
-
createNet2Any
public NetSharedChannelInput createNet2Any()
Description copied from interface:NetChannelEndFactoryConstructs a
NetSharedChannelInputobject.- Specified by:
createNet2Anyin interfaceNetChannelEndFactory- Returns:
- the constructed
NetSharedChannelInputobject. - See Also:
NetChannelEndFactory.createNet2Any()
-
createOne2Net
public NetChannelOutput createOne2Net(NetChannelLocation loc)
Description copied from interface:NetChannelEndFactoryConstructs a
NetChannelOutputobject.- Specified by:
createOne2Netin interfaceNetChannelEndFactory- Returns:
- the constructed
NetChannelOutputobject. - See Also:
NetChannelEndFactory.createOne2Net(NetChannelLocation)
-
createAny2Net
public NetSharedChannelOutput createAny2Net(NetChannelLocation loc)
Description copied from interface:NetChannelEndFactoryConstructs a
NetSharedChannelOutputobject.- Specified by:
createAny2Netin interfaceNetChannelEndFactory- Returns:
- the constructed
NetSharedChannelOutputobject. - See Also:
NetChannelEndFactory.createAny2Net(NetChannelLocation)
-
-