public class SyncNotification extends Notification
Modifier and Type | Class and Description |
---|---|
static class |
SyncNotification.Context |
(package private) static class |
SyncNotification.Result |
Modifier and Type | Field and Description |
---|---|
private Thread |
caller |
private SyncNotification.Context |
ctx |
private static long |
serialVersionUID
define serialVersionUID for interoperability
|
deadNotificationAgentId, detachable, detached, expiration, messageId, persistent, priority
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
Modifier | Constructor and Description |
---|---|
protected |
SyncNotification() |
Modifier and Type | Method and Description |
---|---|
Exception |
getException() |
Object |
getValue(int index) |
void |
interupt() |
Object[] |
invoke(AgentId to) |
Object[] |
invoke(AgentId to,
long timeout) |
void |
Return(Object[] values) |
void |
Throw(Exception exc) |
void |
wakeup() |
clone, decode, encode, getContext, getDeadNotificationAgentId, getEncodableClassId, getEncodedSize, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString, toString
private static final long serialVersionUID
private transient SyncNotification.Context ctx
private Thread caller
public Object[] invoke(AgentId to) throws InterruptedException, Exception
InterruptedException
Exception
public Object[] invoke(AgentId to, long timeout) throws InterruptedException, Exception
InterruptedException
Exception
public void interupt()
public void wakeup()
public void Throw(Exception exc)
public void Return(Object[] values)
public Object getValue(int index)
public final Exception getException()
Copyright © 2019 ScalAgent D.T.. All rights reserved.