org.codefirst.jenkins.wsnotifier
クラス WsServer

java.lang.Object
  上位を拡張 org.codefirst.jenkins.wsnotifier.WsServer
すべての実装されたインタフェース:
org.webbitserver.WebSocketHandler

public class WsServer
extends Object
implements org.webbitserver.WebSocketHandler


コンストラクタの概要
WsServer()
           
 
メソッドの概要
static void init()
           
 void onClose(org.webbitserver.WebSocketConnection connection)
           
 void onMessage(org.webbitserver.WebSocketConnection connection, byte[] message)
           
 void onMessage(org.webbitserver.WebSocketConnection connection, String message)
           
 void onOpen(org.webbitserver.WebSocketConnection connection)
           
 void onPing(org.webbitserver.WebSocketConnection connection, byte[] message)
           
 void onPong(org.webbitserver.WebSocketConnection connection, byte[] message)
           
protected static void ping()
           
static void reset(int port, int pingInterval)
           
static void send(hudson.model.AbstractBuild build, boolean useStatusFormat)
           
static void send(hudson.model.AbstractBuild build, String result, boolean useStatusFormat)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

WsServer

public WsServer()
メソッドの詳細

init

@Initializer(before=COMPLETED)
public static void init()

reset

public static void reset(int port,
                         int pingInterval)

send

public static void send(hudson.model.AbstractBuild build,
                        boolean useStatusFormat)

send

public static void send(hudson.model.AbstractBuild build,
                        String result,
                        boolean useStatusFormat)

ping

protected static void ping()

onOpen

public void onOpen(org.webbitserver.WebSocketConnection connection)
定義:
インタフェース org.webbitserver.WebSocketHandler 内の onOpen

onClose

public void onClose(org.webbitserver.WebSocketConnection connection)
定義:
インタフェース org.webbitserver.WebSocketHandler 内の onClose

onMessage

public void onMessage(org.webbitserver.WebSocketConnection connection,
                      String message)
定義:
インタフェース org.webbitserver.WebSocketHandler 内の onMessage

onMessage

public void onMessage(org.webbitserver.WebSocketConnection connection,
                      byte[] message)
定義:
インタフェース org.webbitserver.WebSocketHandler 内の onMessage

onPing

public void onPing(org.webbitserver.WebSocketConnection connection,
                   byte[] message)
            throws Throwable
定義:
インタフェース org.webbitserver.WebSocketHandler 内の onPing
例外:
Throwable

onPong

public void onPong(org.webbitserver.WebSocketConnection connection,
                   byte[] message)
            throws Throwable
定義:
インタフェース org.webbitserver.WebSocketHandler 内の onPong
例外:
Throwable


Copyright © 2004-2013. All Rights Reserved.