weblogic.websocket
Interface WebSocketListener


public interface WebSocketListener

Weblogic stubs for compilation. Do not use this jar


Method Summary
 boolean accept(WSHandshakeRequest wsHandshakeRequest, WSHandshakeResponse wsHandshakeResponse)
           
 void destroy()
           
 void init(WebSocketContext webSocketContext)
           
 void onClose(WebSocketConnection webSocketConnection, ClosingMessage closingMessage)
           
 void onError(WebSocketConnection webSocketConnection, Throwable throwable)
           
 void onFragment(WebSocketConnection webSocketConnection, boolean b, byte[] bytes)
           
 void onFragment(WebSocketConnection webSocketConnection, boolean b, String s)
           
 void onMessage(WebSocketConnection webSocketConnection, byte[] bytes)
           
 void onMessage(WebSocketConnection webSocketConnection, String s)
           
 void onOpen(WebSocketConnection webSocketConnection)
           
 void onPing(WebSocketConnection webSocketConnection, byte[] bytes)
           
 void onPong(WebSocketConnection webSocketConnection, byte[] bytes)
           
 void onTimeout(WebSocketConnection webSocketConnection)
           
 

Method Detail

init

void init(WebSocketContext webSocketContext)

destroy

void destroy()

accept

boolean accept(WSHandshakeRequest wsHandshakeRequest,
               WSHandshakeResponse wsHandshakeResponse)

onOpen

void onOpen(WebSocketConnection webSocketConnection)

onMessage

void onMessage(WebSocketConnection webSocketConnection,
               String s)

onMessage

void onMessage(WebSocketConnection webSocketConnection,
               byte[] bytes)

onFragment

void onFragment(WebSocketConnection webSocketConnection,
                boolean b,
                String s)

onFragment

void onFragment(WebSocketConnection webSocketConnection,
                boolean b,
                byte[] bytes)

onPing

void onPing(WebSocketConnection webSocketConnection,
            byte[] bytes)

onPong

void onPong(WebSocketConnection webSocketConnection,
            byte[] bytes)

onTimeout

void onTimeout(WebSocketConnection webSocketConnection)

onError

void onError(WebSocketConnection webSocketConnection,
             Throwable throwable)

onClose

void onClose(WebSocketConnection webSocketConnection,
             ClosingMessage closingMessage)


Copyright © 2013. All Rights Reserved.