Package | Description |
---|---|
ptolemy.actor.process |
Process oriented actor classes.
|
ptolemy.domains.pn.kernel |
The Kahn-MacQueen process network domain.
|
Modifier and Type | Class and Description |
---|---|
class |
MailboxBoundaryReceiver
A process receiver that stores tokens via a mailbox and can be used by
composite actors.
|
Modifier and Type | Method and Description |
---|---|
ProcessReceiver |
Branch.getConsumerReceiver()
Return the consumer receiver that this branch puts data into.
|
ProcessReceiver |
Branch.getProducerReceiver()
Return the producer receiver that this branch gets data from.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessDirector.threadBlocked(java.lang.Thread thread,
ProcessReceiver receiver)
Notify the director that the specified thread is blocked
on an I/O operation.
|
void |
CompositeProcessDirector.threadBlocked(java.lang.Thread thread,
ProcessReceiver receiver)
Notify the director that the specified thread is blocked
on an I/O operation.
|
void |
ProcessDirector.threadUnblocked(java.lang.Thread thread,
ProcessReceiver receiver)
Notify the director that the specified thread is unblocked
on an I/O operation.
|
void |
CompositeProcessDirector.threadUnblocked(java.lang.Thread thread,
ProcessReceiver receiver)
Notify the director that the specified thread is unblocked
on an I/O operation.
|
Constructor and Description |
---|
Branch(ProcessReceiver producerReceiver,
ProcessReceiver consumerReceiver,
BranchController controller)
Construct a branch object with a producer receiver, a consumer
receiver and a branch controller.
|
Modifier and Type | Class and Description |
---|---|
class |
PNQueueReceiver
A receiver with a FIFO queue that blocks the calling process on a read if the
FIFO queue is empty and on a write if the queue is full.
|
Modifier and Type | Method and Description |
---|---|
void |
PNDirector.threadBlocked(java.lang.Thread thread,
ProcessReceiver receiver,
boolean readOrWrite)
Notify the director that the specified thread is blocked
on an I/O operation.
|
void |
PNDirector.threadUnblocked(java.lang.Thread thread,
ProcessReceiver receiver,
boolean readOrWrite)
Notify the director that the specified thread is unblocked
on an I/O operation.
|