Package org.jcsp.net
Class UnacknowledgedNetChannelEndFactory
java.lang.Object
org.jcsp.net.StandardNetChannelEndFactory
org.jcsp.net.UnacknowledgedNetChannelEndFactory
- All Implemented Interfaces:
NetBufferedChannelEndFactory
,NetChannelEndFactory
,NetLabelledBufferedChannelEndFactory
,NetLabelledChannelEndFactory
Extends the standard network channel factory to give unacknowledged channel output ends. Use these with caution
as the lack of synchronization between sender and receiver can lead to potential problems.
- Author:
- Quickstone Technologies Limited
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates an unacknowledged output channel end suitable for use by multiple writers.Creates an unacknowledged output channel end suitable for use by a single writer.Methods inherited from class org.jcsp.net.StandardNetChannelEndFactory
createNet2Any, createNet2Any, createNet2Any, createNet2Any, createNet2One, createNet2One, createNet2One, createNet2One, getDefaultInstance
-
Constructor Details
-
UnacknowledgedNetChannelEndFactory
public UnacknowledgedNetChannelEndFactory()Creates a new factory object.
-
-
Method Details
-
createOne2Net
Creates an unacknowledged output channel end suitable for use by a single writer.- Specified by:
createOne2Net
in interfaceNetChannelEndFactory
- Overrides:
createOne2Net
in classStandardNetChannelEndFactory
- Parameters:
loc
- address of the input channel end to connect to.- Returns:
- the constructed
NetChannelOutput
object. - See Also:
-
createAny2Net
Creates an unacknowledged output channel end suitable for use by multiple writers.- Specified by:
createAny2Net
in interfaceNetChannelEndFactory
- Overrides:
createAny2Net
in classStandardNetChannelEndFactory
- Parameters:
loc
- address of the input channel end to connect to.- Returns:
- the constructed
NetSharedChannelOutput
object. - See Also:
-