<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Two test cases show how to setup a
custom transport in different ways, may be considered as examples.<br>
<br>
In general there are no prerequisites from other components.<br>
<br>
One use case is implementing ssh-tunnel for Java client while
connecting to regular Erlang node. This is useful for making
secure connection between Java client and Erlang server node(s).
Such a transport could use, for example JSch for client, on the
server side there will be regular TCP connection established from
sshd to beam (or to epmd process, when client queries EPMD).<br>
<br>
Other use may, of course, require some development on Erlang side
as well. This is not covered by this work.<br>
<br>
On 01/06/2015 11:07 AM, Vlad Dumitrescu wrote:<br>
</div>
<blockquote
cite="mid:CAA-EFXvmFuL4NTNnpiyPVTPYtGhKKBF45LCjAs_asRK3zaBnWw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi!
<div><br>
</div>
<div>Thanks for this. I will look closer at the code in the next
days. My first comment is that I think there should be more
examples on how to set up a different transport and maybe on
how to implement other transports. I suppose that a
prerequisite for this to work is that the Erlang nodes and
epmd support and use that transport method too?</div>
<div><br>
</div>
<div>best regards,<br>
</div>
<div>Vlad</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Jan 4, 2015 at 7:02 PM, Dmitriy
Kargapolov <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:dmitriy.kargapolov@gmail.com" target="_blank">dmitriy.kargapolov@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Transport
factory basic implementation added. This makes possible<br>
creating connections between nodes using ssh channels or
ssl.<br>
Default transport factory based on standart
Socket/ServerSocket<br>
classes is provided. Modifications are backward compatible.<br>
Custom transport factory may be specified using 2 ways - via<br>
system property or defining special tuner class.<br>
Documentation updated. Test cases added.<br>
<br>
git fetch <a moz-do-not-send="true"
href="https://github.com/x0id/otp.git" target="_blank">https://github.com/x0id/otp.git</a>
jinterface_transport_factory<br>
<br>
<a moz-do-not-send="true"
href="https://github.com/x0id/otp/compare/erlang:master...jinterface_transport_factory"
target="_blank">https://github.com/x0id/otp/compare/erlang:master...jinterface_transport_factory</a><br>
<a moz-do-not-send="true"
href="https://github.com/x0id/otp/compare/erlang:master...jinterface_transport_factory.patch"
target="_blank">https://github.com/x0id/otp/compare/erlang:master...jinterface_transport_factory.patch</a><br>
<br>
Thanks.<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
erlang-patches mailing list<br>
<a moz-do-not-send="true"
href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a><br>
<a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-patches"
target="_blank">http://erlang.org/mailman/listinfo/erlang-patches</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>