JML

net.sf.jml.protocol.incoming
Class IncomingUSR

java.lang.Object
  extended by net.sf.jml.protocol.MsnMessage
      extended by net.sf.jml.protocol.MsnIncomingMessage
          extended by net.sf.jml.protocol.incoming.IncomingUSR

public class IncomingUSR
extends MsnIncomingMessage

The user have successed login in NS/SB server, or MSN NS server return a authentication string, user should use this string to get the validate string.

Supported Protocol: All

Auth Syntax: USR trId TWN S authStr

Login Success Syntax 1: USR trId OK email displayName

Login Success MSNP8/MSNP9 Syntax 2: USR trId OK email displayName verified 0

Login Success MSNP10 Syntax 2: USR trId OK email verified 0

Login Success Syntax 1 is used when login into SB server, Login Success Syntax 2 is used when login into NS server.

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
IncomingUSR(MsnProtocol protocol)
           
 
Method Summary
 String getAuthStr()
           
 String getDisplayName()
           
 Email getEmail()
           
 boolean isVerified()
           
protected  void messageReceived(MsnSession session)
          The message have received.
 
Methods inherited from class net.sf.jml.protocol.MsnIncomingMessage
getOutgoingMessage
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncomingUSR

public IncomingUSR(MsnProtocol protocol)
Method Detail

getAuthStr

public String getAuthStr()

getEmail

public Email getEmail()

getDisplayName

public String getDisplayName()

isVerified

public boolean isVerified()

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

JML