public class RconRPC extends DispatchHandler
PeerConnection and store it to the PeerBean. Rcon
means reverse connection.| Modifier and Type | Method and Description |
|---|---|
void |
handleResponse(Message message,
PeerConnection peerConnection,
boolean sign,
Responder responder)
This method is called from the
Dispatcher and handles the reverse
connection at each step. |
connectionBean, createMessage, createResponseMessage, createResponseMessage, forwardMessage, peerBean, register, register, signpublic RconRPC(Peer peer)
public void handleResponse(Message message, PeerConnection peerConnection, boolean sign, Responder responder) throws Exception
Dispatcher and handles the reverse
connection at each step.
REQUEST_1 = relay rcon forwarding. REQUEST_2 = open a TCP channel and
transmit PeerConnection. REQUEST_3 = use now open
PeerConnection to transmit original message (and eventually store
the PeerConnection). REQUEST_4 = store the PeerConnection
on the unreachable peer side (only called via startSetupRcon from the
PeerNAT)handleResponse in class DispatchHandlermessage - peerConnection - sign - responder - ExceptionCopyright © 2014. All rights reserved.