public class PeerExecutor extends HandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
protected LocalObjects |
objects |
protected BasicRuntime |
runtime |
| Constructor and Description |
|---|
PeerExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onInvoke(HandlerContext ctx,
Invocation invocation) |
void |
onRead(HandlerContext ctx,
Object msg) |
protected Task<Object> |
performLocalInvocation(Invocation invocation,
ObjectInvoker invoker,
LocalObjects.LocalObjectEntry target) |
Task |
scheduleLocalInvocation(LocalObjects.LocalObjectEntry<Object> localObjectEntry,
Invocation invocation) |
void |
setObjects(LocalObjects objects) |
void |
setRuntime(BasicRuntime runtime) |
Task |
write(HandlerContext ctx,
Object msg) |
Task |
writeInvocation(HandlerContext ctx,
Invocation invocation) |
close, connect, disconnect, onActive, onEventTriggered, onExceptionCaught, onInactive, onRegisteredprotected org.slf4j.Logger logger
protected LocalObjects objects
protected BasicRuntime runtime
public Task write(HandlerContext ctx, Object msg) throws Exception
write in interface Handlerwrite in class HandlerAdapterExceptionpublic Task writeInvocation(HandlerContext ctx, Invocation invocation) throws Exception
Exceptionpublic void onRead(HandlerContext ctx, Object msg) throws Exception
onRead in interface HandleronRead in class HandlerAdapterExceptionprotected void onInvoke(HandlerContext ctx, Invocation invocation)
public Task scheduleLocalInvocation(LocalObjects.LocalObjectEntry<Object> localObjectEntry, Invocation invocation)
protected Task<Object> performLocalInvocation(Invocation invocation, ObjectInvoker invoker, LocalObjects.LocalObjectEntry target)
public void setObjects(LocalObjects objects)
public void setRuntime(BasicRuntime runtime)
Copyright © 2019 Electronic Arts Inc. All rights reserved.