public class ClusterHandler extends HandlerAdapter
| Constructor and Description |
|---|
ClusterHandler(ClusterPeer clusterPeer,
String clusterName,
String nodeName) |
| Modifier and Type | Method and Description |
|---|---|
Task |
close(HandlerContext ctx) |
Task |
connect(HandlerContext ctx,
Object param) |
Task |
write(HandlerContext ctx,
Object msg) |
disconnect, onActive, onEventTriggered, onExceptionCaught, onInactive, onRead, onRegisteredpublic ClusterHandler(ClusterPeer clusterPeer, String clusterName, String nodeName)
public Task write(HandlerContext ctx, Object msg) throws Exception
write in interface Handlerwrite in class HandlerAdapterExceptionpublic Task connect(HandlerContext ctx, Object param) throws Exception
connect in interface Handlerconnect in class HandlerAdapterExceptionpublic Task close(HandlerContext ctx) throws Exception
close in interface Handlerclose in class HandlerAdapterExceptionCopyright © 2019 Electronic Arts Inc. All rights reserved.