Package com.ericsson.otp.erlang
Class OtpSocketTransportFactory
- java.lang.Object
- 
- com.ericsson.otp.erlang.OtpSocketTransportFactory
 
- 
- All Implemented Interfaces:
- OtpTransportFactory
 
 public class OtpSocketTransportFactory extends java.lang.Object implements OtpTransportFactory Default socket-based transport factory
- 
- 
Constructor SummaryConstructors Constructor Description OtpSocketTransportFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OtpServerTransportcreateServerTransport(int port)Create instance ofOtpServerTransportOtpTransportcreateTransport(java.lang.String addr, int port)Create instance ofOtpTransportOtpTransportcreateTransport(java.net.InetAddress addr, int port)Create instance ofOtpTransport
 
- 
- 
- 
Method Detail- 
createTransportpublic OtpTransport createTransport(java.lang.String addr, int port) throws java.io.IOException Description copied from interface:OtpTransportFactoryCreate instance ofOtpTransport- Specified by:
- createTransportin interface- OtpTransportFactory
- Parameters:
- addr- host name or IP address string
- port- port number
- Returns:
- new socket object
- Throws:
- java.io.IOException
- See Also:
- OtpTransportFactory.createTransport(String, int)
 
 - 
createTransportpublic OtpTransport createTransport(java.net.InetAddress addr, int port) throws java.io.IOException Description copied from interface:OtpTransportFactoryCreate instance ofOtpTransport- Specified by:
- createTransportin interface- OtpTransportFactory
- Parameters:
- addr- peer address
- port- port number
- Returns:
- new socket object
- Throws:
- java.io.IOException
- See Also:
- OtpTransportFactory.createTransport(InetAddress, int)
 
 - 
createServerTransportpublic OtpServerTransport createServerTransport(int port) throws java.io.IOException Description copied from interface:OtpTransportFactoryCreate instance ofOtpServerTransport- Specified by:
- createServerTransportin interface- OtpTransportFactory
- Parameters:
- port- port number to listen on
- Returns:
- new socket object
- Throws:
- java.io.IOException
- See Also:
- OtpTransportFactory.createServerTransport(int)
 
 
- 
 
-