|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcsp.net.StandardNetChannelEndFactory org.jcsp.net.UnacknowledgedNetChannelEndFactory
public class UnacknowledgedNetChannelEndFactory
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.
Constructor Summary | |
---|---|
UnacknowledgedNetChannelEndFactory()
Creates a new factory object. |
Method Summary | |
---|---|
NetSharedChannelOutput |
createAny2Net(NetChannelLocation loc)
Creates an unacknowledged output channel end suitable for use by multiple writers. |
NetChannelOutput |
createOne2Net(NetChannelLocation loc)
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnacknowledgedNetChannelEndFactory()
Method Detail |
---|
public NetChannelOutput createOne2Net(NetChannelLocation loc)
createOne2Net
in interface NetChannelEndFactory
createOne2Net
in class StandardNetChannelEndFactory
loc
- address of the input channel end to connect to.
NetChannelOutput
object.NetChannelEndFactory.createOne2Net(NetChannelLocation)
public NetSharedChannelOutput createAny2Net(NetChannelLocation loc)
createAny2Net
in interface NetChannelEndFactory
createAny2Net
in class StandardNetChannelEndFactory
loc
- address of the input channel end to connect to.
NetSharedChannelOutput
object.NetChannelEndFactory.createAny2Net(NetChannelLocation)
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |