mirror of
https://github.com/faye/websocket-driver-ruby.git
synced 2025-11-01 13:59:38 +00:00
10 lines
245 B
Java
10 lines
245 B
Java
package com.jcoglan.websocket;
|
|
|
|
public interface Observer {
|
|
void onError(int code, String reason);
|
|
void onMessage(Message message);
|
|
void onClose(int code, byte[] reason);
|
|
void onPing(Frame frame);
|
|
void onPong(Frame frame);
|
|
}
|