public abstract class BaseGatewayNode extends BaseNode implements MessageReplier, INode
콘텐츠에서 게이트웨이 노드를 사용하기위해서는 해당 클래스를 확장해서 사용해야 한다
Constructor and Description |
---|
BaseGatewayNode() |
Modifier and Type | Method and Description |
---|---|
com.nhn.gameanvilcore.node.MultiRequestToGameUser |
createMultiRequestToGameUser()
MultiRequestToGameUser 객체를 생성하여 가져온다
|
com.nhn.gameanvilcore.node.MultiRequestToNode |
createMultiRequestToNode()
MultiRequestToNode 객체를 생성하여 가져온다
|
static <T extends BaseGatewayNode> |
getInstance()
현재 클래스의 유일 인스턴스를 가져온다
|
void |
init(BaseGatewayNode baseGatewayNode,
com.nhn.gameanvilcore.node.NonNetworkNodeHelper nonNetworkNodeHelper)
사용 전 내부에 필요한 값 설정 및 초기화를 시켜준다
|
void |
removeAllTimer()
추가된 모든 타이머를 제거한다
|
addTimer, addTimer, addTopic, addTopics, getNonNetworkNodeHelper, getState, getTopics, hasTopic, init, isReady, multiRequest, multiRequest, onDispatch, onUpdateGameData, removeTimer, removeTopic, removeTopics, reply
findAllUserLocsOfAccount, findOnlineUsers, findUserLoc, findUserLoc, findUsersLoc, getAllChannelList, getFirstNodeId, getFirstNodeId, getIntercom, getNodeId, getReadyAllGameNode, getReadyAllGameNode, getReadyAllSupportNode, getServiceId, getServiceName, init, publishToClient, publishToClient, publishToNode, publishToNode, publishToNodeWithChannelId, publishToNodeWithChannelId, publishToNodeWithHostId, publishToNodeWithHostId, publishToNodeWithNodeId, publishToNodeWithNodeId, publishToNodeWithServiceId, publishToNodeWithServiceId, publishToNodeWithServiceName, publishToNodeWithServiceName, publishToRoom, publishToRoom, publishToRoomWithChannelId, publishToRoomWithChannelId, publishToRoomWithHostId, publishToRoomWithHostId, publishToRoomWithNodeId, publishToRoomWithNodeId, publishToRoomWithServiceId, publishToRoomWithServiceId, publishToRoomWithServiceName, publishToRoomWithServiceName, publishToSpot, publishToSpot, publishToSpotWithHostId, publishToSpotWithHostId, publishToSpotWithNodeId, publishToSpotWithNodeId, publishToSpotWithServiceId, publishToSpotWithServiceId, publishToSpotWithServiceName, publishToSpotWithServiceName, publishToUser, publishToUser, publishToUserWithChannelId, publishToUserWithChannelId, publishToUserWithHostId, publishToUserWithHostId, publishToUserWithNodeId, publishToUserWithNodeId, publishToUserWithServiceId, publishToUserWithServiceId, publishToUserWithServiceName, publishToUserWithServiceName, requestAllChannelCountInfo, requestAllChannelInfo, requestAllGameNodeIds, requestAllUserIds, requestChannelCountInfo, requestChannelInfo, requestGameNodeId, requestOnlineCheck, requestToAllGameNode, requestToAllGameNode, requestToAllGameNode, requestToAllGameNode, requestToAllGameNode, requestToAllGameNode, requestToAllGameNode, requestToAllGameNode, requestToAllManagementNode, requestToAllManagementNode, requestToAllSession, requestToAllSession, requestToAllSupportNode, requestToAllSupportNode, requestToAllSupportNode, requestToAllSupportNode, requestToFirstNode, requestToFirstNode, requestToFirstNode, requestToFirstNode, requestToGameNode, requestToGameNode, requestToGameNode, requestToGameNode, requestToGameNode, requestToGameNode, requestToGameNode, requestToGameNode, requestToGatewayNode, requestToGatewayNode, requestToManagementNode, requestToManagementNode, requestToNode, requestToNode, requestToNodes, requestToNodes, requestToNodes, requestToRoom, requestToRoom, requestToRoom, requestToRoom, requestToSession, requestToSession, requestToSpot, requestToSpot, requestToSpot, requestToSpot, requestToSupportNode, requestToSupportNode, requestToSupportNode, requestToSupportNode, requestToUser, requestToUser, requestToUser, requestToUser, requestToUser, requestToUser, requestToUser, requestToUser, requestToUser, requestToUser, requestToUser, requestToUser, requestToUserInNode, requestToUserInNode, sendToClient, sendToClient, sendToClient, sendToClient, sendToClient, sendToClient, sendToClient, sendToClient, sendToFirstNode, sendToFirstNode, sendToFirstNode, sendToFirstNode, sendToGameNode, sendToGameNode, sendToGameNode, sendToGameNode, sendToGameNode, sendToGameNode, sendToGameNode, sendToGameNode, sendToManagementNode, sendToManagementNode, sendToNode, sendToNode, sendToRoom, sendToRoom, sendToRoom, sendToRoom, sendToSession, sendToSession, sendToSpot, sendToSpot, sendToSpot, sendToSpot, sendToSupportNode, sendToSupportNode, sendToSupportNode, sendToSupportNode, sendToUser, sendToUser, sendToUser, sendToUser, sendToUser, sendToUser, sendToUser, sendToUser, sendToUser, sendToUser, sendToUserInNode, sendToUserInNode, sendToUsers, sendToUsers, sendToUsers, sendToUsers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reply, reply, reply
onInit, onPause, onPrepare, onReady, onResume, onShutdown
getMessageDispatcher, onAfterDispatch, tryDispatch
public static <T extends BaseGatewayNode> T getInstance()
T
- BaseGatewayNode
를 상속받은 객체public void init(BaseGatewayNode baseGatewayNode, com.nhn.gameanvilcore.node.NonNetworkNodeHelper nonNetworkNodeHelper)
baseGatewayNode
- 사용할 BaseGatewayNode
객체nonNetworkNodeHelper
- 사용할 NonNetworkNodeHelper
객체public void removeAllTimer()
public com.nhn.gameanvilcore.node.MultiRequestToGameUser createMultiRequestToGameUser()
MultiRequestToGameUser
타입으로 생성된 객체 반환public com.nhn.gameanvilcore.node.MultiRequestToNode createMultiRequestToNode()
MultiRequestToNode
타입으로 생성된 객체 반환