|
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.Objectorg.jcsp.lang.RejectableBufferedOne2AnyChannel
PoisonException
public class RejectableBufferedOne2AnyChannel
This implements a one-to-any object channel with user-definable buffering,
safe for use by a single writer and many readers. Refer to One2AnyChannel for a
description of this behaviour.
Additionally, this channel supports a reject operation. One of the readers may call
the reject method to force any current writer to abort with a
ChannelDataRejectedException (unless there is already a read which will cause
completion of the write). Subsequent read and write attempts will immediately cause a
ChannelDataRejectedException.
| Constructor Summary | |
|---|---|
RejectableBufferedOne2AnyChannel(ChannelDataStore data)
Deprecated. Constructs a new RejectableBufferedOne2AnyChannel |
|
| Method Summary | |
|---|---|
RejectableChannelInput |
in()
Deprecated. |
RejectableChannelOutput |
out()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RejectableBufferedOne2AnyChannel(ChannelDataStore data)
RejectableBufferedOne2AnyChannel
data - the buffer implementation to use.| Method Detail |
|---|
public RejectableChannelInput in()
in in interface RejectableChannelpublic RejectableChannelOutput out()
out in interface RejectableChannel
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||