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

Some additional abstraction over Sockets #64

Open
dimzon opened this issue Aug 13, 2016 · 0 comments
Open

Some additional abstraction over Sockets #64

dimzon opened this issue Aug 13, 2016 · 0 comments

Comments

@dimzon
Copy link

dimzon commented Aug 13, 2016

AFAIK In java socket is interface (or abstract class) and there are SocketFactory conception. This allows to make such pretty things like SSH over HTTPS or add some protocol obfuscation just using decorator pattern.
At client retrospective this allows client application to use tunneling directly (without binding to physical port). I.e. this allows to connect directly to host:ip via ssh tunnel and get input|output streams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant