|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.i1.sctp.SCTPSocket
dk.i1.sctp.OneToOneSCTPSocket
public class OneToOneSCTPSocket
A one-to-one SCTP socket.
A one-to-one socket is used when you need a single endpoint connected to a single other endpoint.
This is typically used in client-like sockets.
A OneToOneSCTPSocket can accept inbound associations but at most one at the time.
Contrast with OneToManySCTPSocket
.
Constructor Summary | |
---|---|
OneToOneSCTPSocket()
Creates an unbound socket. |
|
OneToOneSCTPSocket(int port)
Creates a socket bound to the specified port. |
Method Summary | |
---|---|
OneToOneSCTPSocket |
accept()
Accept an incoming association. |
Methods inherited from class dk.i1.sctp.SCTPSocket |
---|
bind, bind, bind, bind, chunkAvailable, close, configureAutoClose, configureBlocking, connect, connect, disconnect, disconnect, finalize, getLocalInetAddresses, getLocalInetAddresses, getLocalInetPort, getPeerInetAddresses, getPeerInetPort, getReceiveBufferSize, getSctpNoDelay, getSendBufferSize, isBlocking, isClosed, listen, receive, receive, receiveNow, send, setInitMsg, setPeerParameters, setReceiveBufferSize, setSctpNoDelay, setSendBufferSize, subscribeEvents, wakeup |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OneToOneSCTPSocket() throws java.net.SocketException
java.net.SocketException
public OneToOneSCTPSocket(int port) throws java.net.SocketException
port
- The SCTP port to bind to. The socket is bound to all available interfaces (subject to system policies)
java.net.SocketException
Method Detail |
---|
public OneToOneSCTPSocket accept() throws java.net.SocketException
java.net.SocketException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |