|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ericsson.otp.erlang.OtpSocketTransportFactory
public class OtpSocketTransportFactory
Default socket-based transport factory
Constructor Summary | |
---|---|
OtpSocketTransportFactory()
|
Method Summary | |
---|---|
OtpServerTransport |
createServerTransport(int port)
Create instance of OtpServerTransport |
OtpTransport |
createTransport(java.net.InetAddress addr,
int port)
Create instance of OtpTransport |
OtpTransport |
createTransport(java.lang.String addr,
int port)
Create instance of OtpTransport |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OtpSocketTransportFactory()
Method Detail |
---|
public OtpTransport createTransport(java.lang.String addr, int port) throws java.io.IOException
OtpTransportFactory
OtpTransport
createTransport
in interface OtpTransportFactory
addr
- host name or IP address stringport
- port number
java.io.IOException
OtpTransportFactory.createTransport(String, int)
public OtpTransport createTransport(java.net.InetAddress addr, int port) throws java.io.IOException
OtpTransportFactory
OtpTransport
createTransport
in interface OtpTransportFactory
addr
- peer addressport
- port number
java.io.IOException
OtpTransportFactory.createTransport(InetAddress, int)
public OtpServerTransport createServerTransport(int port) throws java.io.IOException
OtpTransportFactory
OtpServerTransport
createServerTransport
in interface OtpTransportFactory
port
- port number to listen on
java.io.IOException
OtpTransportFactory.createServerTransport(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |