public class OpInniNoop extends OpInni
OpRemote.Helper
defaultSemValue, msgList, noop, serialVersionUID, theLock, waitList
Constructor and Description |
---|
OpInniNoop()
Create a new instance of an operation that's to be serviced
via inni.
|
Modifier and Type | Method and Description |
---|---|
Invocation |
call(Invocation originalInv)
Invoke this operation synchronously.
|
(package private) void |
internalSend(Invocation inv)
Internal asynchronous invocation.
|
boolean |
isNoop()
Since have one noop per VM, need to know whether an OpImpl is a noop.
|
void |
send(Invocation originalInv)
Invoke this operation asynchronously.
|
canAppearInInni, deliverPendingMessages, elements, getFirstTime, getLock, isRemote, length, newOpInni, newSem, newSem, P, receive
public OpInniNoop() throws java.rmi.RemoteException
java.rmi.RemoteException
- if RMI fails.public boolean isNoop()
OpImpl
public void send(Invocation originalInv)
void internalSend(Invocation inv)
OpImpl
internalSend
in class OpImpl
inv
- The invocation to service.
It is assumed to have already been cloned
and its replyOp
set properly
(null
for send; non-null
for call).public Invocation call(Invocation originalInv)
call
in interface Op
call
in class OpImpl
originalInv
- The invocation to service.
N.B., (the reference for) the returned invocation may not be the
same as originalInv
.
See details under Op.call(edu.ucdavis.rj.Invocation)
.