Skip to content

Instantly share code, notes, and snippets.

View icapurro's full-sized avatar
drinking coffee

Ignacio Capurro icapurro

drinking coffee
  • The Appraisal Lane
  • Uruguay
View GitHub Profile
import com.github.nkzawa.socketio.client.Manager;
import com.github.nkzawa.socketio.client.Socket;
import org.json.JSONException;
import org.json.JSONObject;
public class SocketServerStub {
protected Socket socket = new SocketStub(new Manager(), null);
import com.github.nkzawa.socketio.client.Manager;
import com.github.nkzawa.socketio.client.Socket;
public class SocketStub extends Socket {
private boolean connected = false;
public SocketStub(Manager io, String nsp) {
super(io, nsp);
}