Package org.jcsp.net.dynamic
Interface NamedMigratableChannelEndFactory
- All Known Implementing Classes:
NamedMigratableChannelEndFactoryImpl
public interface NamedMigratableChannelEndFactory
Factory interface for creating migratable networked channel input ends using a CNS service.
-
Method Summary
Modifier and TypeMethodDescriptioncreateNet2One
(String name) Creates a named migratable networked channel input end that can be used as a guard in anAlternative
.createNet2One
(String name, NameAccessLevel nameAccessLevel) Creates a named migratable networked channel input end that can be used as a guard in anAlternative
.createOne2Net
(String name) Creates a networked migratable channel output end connected to the input end created with the given name.createOne2Net
(String name, NameAccessLevel accessLevel) Creates a networked migratable channel output end connected to the input end created with the given name.
-
Method Details
-
createNet2One
Creates a named migratable networked channel input end that can be used as a guard in anAlternative
.- Parameters:
name
- the name to use.- Returns:
- the created channel end.
-
createNet2One
Creates a named migratable networked channel input end that can be used as a guard in anAlternative
.- Parameters:
name
- the name to use.nameAccessLevel
- the namespace to declare the name within.- Returns:
- the created channel end.
-
createOne2Net
Creates a networked migratable channel output end connected to the input end created with the given name.- Parameters:
name
- the name the input end was created with.- Returns:
- the created channel end.
-
createOne2Net
Creates a networked migratable channel output end connected to the input end created with the given name.- Parameters:
name
- the name the input end was created with.- Returns:
- the created channel end.
-