make Engine an inner class

This commit is contained in:
Naoyuki Kanezawa
2014-02-07 03:47:15 +09:00
parent 434063004d
commit 0a3a3b33a1
2 changed files with 20 additions and 22 deletions

View File

@@ -1,22 +0,0 @@
package com.github.nkzawa.socketio.client;
import java.net.URI;
class Engine extends com.github.nkzawa.engineio.client.Socket {
Engine(URI uri, Options opts) {
super(uri, opts);
}
@Override
public void onopen() {}
@Override
public void onmessage(String s) {}
@Override
public void onclose() {}
@Override
public void onerror(Exception err) {}
}

View File

@@ -385,4 +385,24 @@ public class Manager extends Emitter {
public void call(Exception err); public void call(Exception err);
} }
private class Engine extends com.github.nkzawa.engineio.client.Socket {
Engine(URI uri, Options opts) {
super(uri, opts);
}
@Override
public void onopen() {}
@Override
public void onmessage(String s) {}
@Override
public void onclose() {}
@Override
public void onerror(Exception err) {}
}
} }