Package | Description |
---|---|
org.ice4j | |
org.ice4j.ice | |
org.ice4j.ice.harvest |
Modifier and Type | Field and Description |
---|---|
private Transport |
TransportAddress.transport
The variable that we are using to store the transport that this address
is pertaining to.
|
Modifier and Type | Method and Description |
---|---|
Transport |
TransportAddress.getTransport()
The transport that this transport address is suggesting.
|
static Transport |
Transport.parse(String transportName)
Returns a Transport instance corresponding to the specified
transportName.
|
static Transport |
Transport.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport[] |
Transport.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TransportAddress(byte[] ipAddress,
int port,
Transport transport)
Creates an address instance address from a byte array containing an IP
address and a port number.
|
TransportAddress(InetAddress address,
int port,
Transport transport)
Creates an address instance from a host name and a port number.
|
TransportAddress(InetSocketAddress address,
Transport transport)
Creates an address instance from an InetSocketAddress.
|
TransportAddress(String hostname,
int port,
Transport transport)
Creates an address instance address from an IP address and a port number.
|
Modifier and Type | Method and Description |
---|---|
Transport |
Candidate.getTransport()
Returns the Transport for this Candidate.
|
Modifier and Type | Method and Description |
---|---|
Component |
Agent.createComponent(IceMediaStream stream,
Transport transport,
int preferredPort,
int minPort,
int maxPort)
Creates a new
Component for the specified stream and
allocates potentially all local candidates that should belong to it. |
Component |
Agent.createComponent(IceMediaStream stream,
Transport transport,
int preferredPort,
int minPort,
int maxPort,
KeepAliveStrategy keepAliveStrategy)
Creates a new
Component for the specified stream and
allocates potentially all local candidates that should belong to it. |
Component |
Agent.createComponent(IceMediaStream stream,
Transport transport,
int preferredPort,
int minPort,
int maxPort,
KeepAliveStrategy keepAliveStrategy,
boolean useComponentSocket)
Creates a new
Component for the specified stream and
allocates potentially all local candidates that should belong to it. |
Constructor and Description |
---|
HostCandidate(IceSocketWrapper socket,
Component parentComponent,
Transport transport)
Creates a HostCandidate for the specified transport address.
|
Modifier and Type | Method and Description |
---|---|
void |
HostCandidateHarvester.harvest(Component component,
int preferredPort,
int minPort,
int maxPort,
Transport transport)
Gathers all candidate addresses on the local machine, binds sockets on
them and creates
HostCandidate s. |
Copyright © 2018. All rights reserved.