Package com.ericsson.otp.erlang
Class OtpSocketTransport
java.lang.Object
com.ericsson.otp.erlang.OtpSocketTransport
- All Implemented Interfaces:
OtpTransport
Default socket-based client transport
-
Constructor Summary
ConstructorDescriptionOtpSocketTransport
(String addr, int port) OtpSocketTransport
(InetAddress addr, int port) Socket wrapping constructor -
Method Summary
-
Constructor Details
-
OtpSocketTransport
- Throws:
UnknownHostException
IOException
- See Also:
-
OtpSocketTransport
- Throws:
UnknownHostException
IOException
- See Also:
-
OtpSocketTransport
Socket wrapping constructor- Parameters:
s
- socket to wrap
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfaceOtpTransport
- Throws:
IOException
- See Also:
-
getOutputStream
- Specified by:
getOutputStream
in interfaceOtpTransport
- Throws:
IOException
- See Also:
-
close
- Specified by:
close
in interfaceOtpTransport
- Throws:
IOException
- See Also:
-