Package org.jcsp.net.dynamic
Class MigratableChannelEndFactory
- java.lang.Object
-
- org.jcsp.net.dynamic.MigratableChannelEndFactory
-
- All Implemented Interfaces:
NetChannelEndFactory
public class MigratableChannelEndFactory extends java.lang.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 inMigratableChannelEnd
can 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 NetSharedChannelOutput
createAny2Net(NetChannelLocation loc)
Constructs aNetSharedChannelOutput
object.NetSharedChannelInput
createNet2Any()
Constructs aNetSharedChannelInput
object.NetAltingChannelInput
createNet2One()
Constructs aNetAltingChannelInput
object.NetChannelOutput
createOne2Net(NetChannelLocation loc)
Constructs aNetChannelOutput
object.
-
-
-
Method Detail
-
createNet2One
public NetAltingChannelInput createNet2One()
Description copied from interface:NetChannelEndFactory
Constructs a
NetAltingChannelInput
object.- Specified by:
createNet2One
in interfaceNetChannelEndFactory
- Returns:
- the constructed
NetAltingChannelInput
object. - See Also:
NetChannelEndFactory.createNet2One()
-
createNet2Any
public NetSharedChannelInput createNet2Any()
Description copied from interface:NetChannelEndFactory
Constructs a
NetSharedChannelInput
object.- Specified by:
createNet2Any
in interfaceNetChannelEndFactory
- Returns:
- the constructed
NetSharedChannelInput
object. - See Also:
NetChannelEndFactory.createNet2Any()
-
createOne2Net
public NetChannelOutput createOne2Net(NetChannelLocation loc)
Description copied from interface:NetChannelEndFactory
Constructs a
NetChannelOutput
object.- Specified by:
createOne2Net
in interfaceNetChannelEndFactory
- Returns:
- the constructed
NetChannelOutput
object. - See Also:
NetChannelEndFactory.createOne2Net(NetChannelLocation)
-
createAny2Net
public NetSharedChannelOutput createAny2Net(NetChannelLocation loc)
Description copied from interface:NetChannelEndFactory
Constructs a
NetSharedChannelOutput
object.- Specified by:
createAny2Net
in interfaceNetChannelEndFactory
- Returns:
- the constructed
NetSharedChannelOutput
object. - See Also:
NetChannelEndFactory.createAny2Net(NetChannelLocation)
-
-