com.toremote.websocket.handler
Class LoginHandler

java.lang.Object
  extended by com.toremote.websocket.handler.AbstractHandler
      extended by com.toremote.websocket.handler.LoginHandler
All Implemented Interfaces:
HandlerInterface

public class LoginHandler
extends AbstractHandler


Field Summary
 
Fields inherited from class com.toremote.websocket.handler.AbstractHandler
CLIENT_CLOSE, clientProperties, INFO_TAG, listener, out, properties, startTime, userAgent, userIp, WARGIN_TAG
 
Fields inherited from interface com.toremote.websocket.handler.HandlerInterface
ARG_CLIENT_IP, ARG_HOST
 
Constructor Summary
LoginHandler()
           
 
Method Summary
 void onBinaryReceived(byte[] frame)
          process client side binary message.
 void onText(java.lang.String result)
           
 void processHandShake(java.lang.String action, java.util.Map<java.lang.String,java.lang.String> properties)
           
 
Methods inherited from class com.toremote.websocket.handler.AbstractHandler
checkLicense, exit, getGatewayWebAddress, getSessionId, handshake, isTrue, onClientDisconnected, onHandShake, onTextReceived, sendError, sendError, sendError, setHandshakeListener, setOutput, setSessionId, showMessge, showMessge, toJson
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginHandler

public LoginHandler()
Method Detail

onText

public void onText(java.lang.String result)
Specified by:
onText in class AbstractHandler

processHandShake

public void processHandShake(java.lang.String action,
                             java.util.Map<java.lang.String,java.lang.String> properties)
                      throws java.lang.Exception
Specified by:
processHandShake in class AbstractHandler
Throws:
java.lang.Exception

onBinaryReceived

public void onBinaryReceived(byte[] frame)
Description copied from interface: HandlerInterface
process client side binary message.