Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create LiteAcceptor to expose socket data in a standard way for TJWS acceptors #27

Open
yaronyg opened this issue Jan 24, 2014 · 0 comments

Comments

@yaronyg
Copy link
Contributor

yaronyg commented Jan 24, 2014

#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.

@hideki hideki added the backlog label Jun 23, 2016
@hideki hideki added icebox and removed backlog labels Oct 8, 2016
@hideki hideki removed this from the Future milestone Oct 8, 2016
@djpongh djpongh removed the feature label Nov 17, 2016
@djpongh djpongh added this to the 1.5.0 milestone Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants