net.sf.jml.protocol.incoming
Class IncomingXFR
java.lang.Object
net.sf.jml.protocol.MsnMessage
net.sf.jml.protocol.MsnIncomingMessage
net.sf.jml.protocol.incoming.IncomingXFR
public class IncomingXFR
- extends MsnIncomingMessage
Call to start a new switchboard or redirect to other NS server.
Supported Protocol: All
Syntax 1: XFR trId NS reconnectIP:reconnectPort 0 currentIP:currentPort
Syntax 2: XFR trId SB SBIP:SBPort CKI authStr
Syntax 1 is the response of OutgoingUSR. For example:
XFR 2 NS 207.46.106.145:1863 0 207.46.104.20:1863,
indicate the NS address.
Syntax 2 is thre response of OutgoingXFR. For example:
XFR 10 SB 207.46.108.37:1863 CKI 17262740.1050826919.32308,
indicate the SB address.
- Author:
- Roger Chen
Methods inherited from class net.sf.jml.protocol.MsnMessage |
addParam, asString, clearParams, getChunkData, getCommand, getParam, getParamCount, getProtocol, getTransactionId, isSupportChunkData, isSupportTransactionId, load, save, setChunkData, setChunkData, setCommand, setParam, toString |
IncomingXFR
public IncomingXFR(MsnProtocol protocol)
isTransferredToSwitchboard
public boolean isTransferredToSwitchboard()
getReconnectHost
public String getReconnectHost()
getReconnectPort
public int getReconnectPort()
getAuthenticationStr
public String getAuthenticationStr()
messageReceived
protected void messageReceived(MsnSession session)
- Description copied from class:
MsnIncomingMessage
- The message have received.
- Overrides:
messageReceived
in class MsnIncomingMessage
- Parameters:
session
- the MsnSession which received the message