com.caucho.amp.actor
Interface AmpActor

All Superinterfaces:
AmpStream
All Known Implementing Classes:
AbstractAmpActor, ActorContextImpl, AmpProxyActor

public interface AmpActor
extends AmpStream

An AMP Actor sends and receives messages as the core class in a service-oriented architecture.

Core API

Each actor has a unique address, which is the address for messages sent to the actor. addresses are typically URLs.


Method Summary
 AmpMethodRef getMethod(java.lang.String methodName, AmpEncoder encoder)
           
 
Methods inherited from interface com.caucho.amp.stream.AmpStream
error, query, queryError, queryResult, send
 

Method Detail

getMethod

AmpMethodRef getMethod(java.lang.String methodName,
                       AmpEncoder encoder)