public abstract class AmpActorContext
extends java.lang.Object
Constructor and Description |
---|
AmpActorContext() |
Modifier and Type | Method and Description |
---|---|
AmpActorContext |
beginCurrentActor() |
void |
endCurrentActor(AmpActorContext prev) |
abstract AmpActorRef |
getActorRef() |
abstract java.lang.String |
getAddress() |
static AmpActorContext |
getCurrent() |
static AmpActorContext |
getCurrent(AmpActorContext systemContext) |
abstract AmpMailbox |
getMailbox() |
abstract AmpMethodRef |
getMethod(java.lang.String methodName,
AmpEncoder encoder) |
abstract AmpStream |
getStream() |
abstract void |
query(AmpMethodRef methodRef,
java.lang.Object[] args,
AmpQueryCallback cb,
long timeout) |
void |
send(AmpMethodRef methodRef,
java.lang.Object[] args) |
public static final AmpActorContext getCurrent()
public static final AmpActorContext getCurrent(AmpActorContext systemContext)
public abstract java.lang.String getAddress()
public abstract AmpMailbox getMailbox()
public abstract AmpActorRef getActorRef()
public abstract AmpStream getStream()
public abstract AmpMethodRef getMethod(java.lang.String methodName, AmpEncoder encoder)
public final AmpActorContext beginCurrentActor()
public final void endCurrentActor(AmpActorContext prev)
public abstract void query(AmpMethodRef methodRef, java.lang.Object[] args, AmpQueryCallback cb, long timeout)
public void send(AmpMethodRef methodRef, java.lang.Object[] args)