#25 calls for us to provide standard connection information and #26 depends on this to discover what port the server is listening on when we use port 0. But a complication is that the acceptors used by TJWS do not have a standard way of providing the serverSocket that powers #25.
To work around this I propose that we define an interface:
package com.couchbase.lite.listener;
/**
* Created by yarong on 11/15/13.
*/
public interface LiteAcceptor {
public SocketStatus getSocketStatus();
}
So all acceptors used by the Listener would be required to support this interface.