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
ConstructorsConstructorDescriptionOtpSocketTransport(String addr, int port) OtpSocketTransport(InetAddress addr, int port) Socket wrapping constructor -
Method Summary
-
Constructor Details
-
OtpSocketTransport
- Throws:
UnknownHostExceptionIOException- See Also:
-
OtpSocketTransport
- Throws:
UnknownHostExceptionIOException- See Also:
-
OtpSocketTransport
Socket wrapping constructor- Parameters:
s- socket to wrap
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfaceOtpTransport- Throws:
IOException- See Also:
-
getOutputStream
- Specified by:
getOutputStreamin interfaceOtpTransport- Throws:
IOException- See Also:
-
close
- Specified by:
closein interfaceOtpTransport- Throws:
IOException- See Also:
-