Package | Description |
---|---|
org.ice4j.ice | |
org.ice4j.ice.harvest | |
org.ice4j.socket | |
org.ice4j.stack | |
org.ice4j.stunclient |
Modifier and Type | Field and Description |
---|---|
private IceSocketWrapper |
RelayedCandidate.socket
The application-purposed DatagramSocket associated with this
Candidate.
|
private IceSocketWrapper |
GoogleRelayedCandidate.socket
The application-purposed DatagramSocket associated with this
Candidate.
|
private IceSocketWrapper |
HostCandidate.socket
If this is a local candidate the field contains the socket that is
actually associated with the candidate.
|
private IceSocketWrapper |
Component.socketWrapper
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private List<IceSocketWrapper> |
TcpHostCandidate.sockets
List of accepted sockets for this TcpHostCandidate.
|
Modifier and Type | Method and Description |
---|---|
IceSocketWrapper |
RelayedCandidate.getCandidateIceSocketWrapper()
Gets the application-purposed DatagramSocket associated with
this Candidate.
|
protected abstract IceSocketWrapper |
LocalCandidate.getCandidateIceSocketWrapper() |
IceSocketWrapper |
GoogleRelayedCandidate.getCandidateIceSocketWrapper()
Gets the application-purposed DatagramSocket associated with
this Candidate.
|
IceSocketWrapper |
ServerReflexiveCandidate.getCandidateIceSocketWrapper() |
IceSocketWrapper |
PeerReflexiveCandidate.getCandidateIceSocketWrapper() |
IceSocketWrapper |
UPNPCandidate.getCandidateIceSocketWrapper() |
IceSocketWrapper |
HostCandidate.getCandidateIceSocketWrapper()
SHOULD NOT be used outside ice4j.
|
protected IceSocketWrapper |
LocalCandidate.getCandidateIceSocketWrapper(SocketAddress remoteAddress) |
protected IceSocketWrapper |
TcpHostCandidate.getCandidateIceSocketWrapper(SocketAddress remoteAddress) |
protected IceSocketWrapper |
LocalCandidate.getIceSocketWrapper() |
IceSocketWrapper |
CandidatePair.getIceSocketWrapper()
Deprecated.
|
protected IceSocketWrapper |
UPNPCandidate.getIceSocketWrapper() |
IceSocketWrapper |
Component.getSocketWrapper()
Deprecated.
Use
Component.getSocket() directly. This is only introduced
to ease the transition of applications which are already written to use
a IceSocketWrapper instance. |
IceSocketWrapper |
LocalCandidate.getStunSocket(TransportAddress serverAddress)
Creates if necessary and returns a DatagramSocket that would
capture all STUN packets arriving on this candidate's socket.
|
Modifier and Type | Method and Description |
---|---|
void |
TcpHostCandidate.addSocket(IceSocketWrapper socket) |
Constructor and Description |
---|
HostCandidate(IceSocketWrapper socket,
Component parentComponent)
Creates a HostCandidate for the specified transport address.
|
HostCandidate(IceSocketWrapper socket,
Component parentComponent,
Transport transport)
Creates a HostCandidate for the specified transport address.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractTcpListener.PushBackIceSocketWrapper
An IceSocketWrapper implementation which allows a
DatagramPacket to be pushed back and received on the first call
to
AbstractTcpListener.PushBackIceSocketWrapper.receive(DatagramPacket) . |
Modifier and Type | Field and Description |
---|---|
private IceSocketWrapper |
AbstractTcpListener.PushBackIceSocketWrapper.wrapped
The IceSocketWrapper that this instance wraps around.
|
Modifier and Type | Field and Description |
---|---|
private Map<SocketAddress,IceSocketWrapper> |
SinglePortUdpHarvester.MyCandidate.candidateSockets
The collection of IceSocketWrappers that can potentially
be used by the ice4j user to read/write from/to this candidate.
|
Modifier and Type | Method and Description |
---|---|
private IceSocketWrapper |
HostCandidateHarvester.createDatagramSocket(InetAddress laddr,
int preferredPort,
int minPort,
int maxPort)
Creates a DatagramSocket and binds it to the specified
localAddress and a port in the range specified by the
minPort and maxPort parameters.
|
private IceSocketWrapper |
HostCandidateHarvester.createServerSocket(InetAddress laddr,
int preferredPort,
int minPort,
int maxPort,
Component component)
Creates a ServerSocket and binds it to the specified
localAddress and a port in the range specified by the
minPort and maxPort parameters.
|
protected IceSocketWrapper |
SinglePortUdpHarvester.MyCandidate.getCandidateIceSocketWrapper(SocketAddress remoteAddress) |
Modifier and Type | Method and Description |
---|---|
private List<LocalCandidate> |
UPNPHarvester.createUPNPCandidate(IceSocketWrapper socket,
String externalIP,
int port,
Component component,
org.bitlet.weupnp.GatewayDevice device)
Create a UPnP candidate.
|
Constructor and Description |
---|
PushBackIceSocketWrapper(IceSocketWrapper wrappedWrapper,
DatagramPacket datagramPacket)
Initializes a new PushBackIceSocketWrapper instance that
wraps around wrappedWrapper and reads from
datagramSocket on the first call to
AbstractTcpListener.PushBackIceSocketWrapper.receive(DatagramPacket) |
Modifier and Type | Class and Description |
---|---|
class |
IceTcpServerSocketWrapper
TCP Server Socket wrapper.
|
class |
IceTcpSocketWrapper
TCP implementation of the IceSocketWrapper.
|
class |
IceUdpSocketWrapper
UDP implementation of the IceSocketWrapper.
|
Modifier and Type | Method and Description |
---|---|
void |
MergingDatagramSocket.add(IceSocketWrapper wrapper)
Adds the socket instance wrapped by
wrapper to this merging
socket. |
protected void |
MergingDatagramSocket.initializeActive(IceSocketWrapper socketWrapper,
TransportAddress remoteAddress)
Initializes the active socket of this
MergingDatagramSocket . |
Modifier and Type | Field and Description |
---|---|
private IceSocketWrapper |
Connector.sock
The socket object that used by this access point to access the network.
|
Modifier and Type | Method and Description |
---|---|
protected IceSocketWrapper |
Connector.getSocket()
Returns the DatagramSocket that contains the port and address
associated with this access point.
|
Modifier and Type | Method and Description |
---|---|
void |
StunStack.addSocket(IceSocketWrapper sock)
Creates and starts a Network Access Point (Connector) based on the
specified socket.
|
protected void |
NetAccessManager.addSocket(IceSocketWrapper socket)
Creates and starts a new access point based on the specified socket.
|
void |
StunStack.addSocket(IceSocketWrapper sock,
TransportAddress remoteAddress)
Creates and starts a Network Access Point (Connector) based on the
specified socket and the specified remote address.
|
protected void |
NetAccessManager.addSocket(IceSocketWrapper socket,
TransportAddress remoteAddress)
Creates and starts a new access point based on the specified socket.
|
Constructor and Description |
---|
Connector(IceSocketWrapper socket,
TransportAddress remoteAddress,
Consumer<RawMessage> messageConsumer,
ErrorHandler errorHandler)
Creates a network access point.
|
Modifier and Type | Field and Description |
---|---|
private IceSocketWrapper |
NetworkConfigurationDiscoveryProcess.sock
The DatagramSocket that we are going to be running the
discovery process through.
|
Modifier and Type | Method and Description |
---|---|
TransportAddress |
SimpleAddressDetector.getMappingFor(IceSocketWrapper socket)
Creates a listening point for the specified socket and attempts to
discover how its local address is NAT mapped.
|
Copyright © 2018. All rights reserved.