jiface.otp.transport

server-socket-transport

(server-socket-transport port)

Constructor for OtpServerSocketTransport.

server-transport-behaviour

ServerTransportObject

protocol

members

accept

(accept this)

get-local-port

(get-local-port this)

socket-transport

(socket-transport args)

Constructor for OtpSocketTransport.

If one arg is passed, it must be of type java.net.Socket, thus making the constructor a wrapper.

If two args are passed, the first may be either of type java.net.InetAddress or String and the second must be of type Integer.

socket-transport-behaviour

SocketTransportObject

protocol

members

get-input-stream

(get-input-stream this)

get-output-stream

(get-output-stream this)

transport-factory-behaviour

TransportFactory

protocol

Represents the default socket-based transport factory.

members

create-server-transport

(create-server-transport this port)

Create an instance of OtpServerTransport.

create-transport

(create-transport this addr port)

Create an instance of OtpTransport.

TransportObject

protocol

members

close

(close this port)