public class TransportManagerSipImpl extends TransportManager<CallPeerSipImpl>
Modifier | Constructor and Description |
---|---|
protected |
TransportManagerSipImpl(CallPeerSipImpl callPeer)
Creates a new SIP
TransportManager . |
Modifier and Type | Method and Description |
---|---|
long |
getHarvestingTime(java.lang.String harvesterName)
Returns the harvesting time (in ms) for the harvester given in parameter.
|
java.lang.String |
getICECandidateExtendedType(java.lang.String streamName)
Returns the extended type of the candidate selected if this transport
manager is using ICE.
|
java.net.InetSocketAddress |
getICELocalHostAddress(java.lang.String streamName)
Returns the ICE local host address.
|
java.net.InetSocketAddress |
getICELocalReflexiveAddress(java.lang.String streamName)
Returns the ICE local reflexive address (server or peer reflexive).
|
java.net.InetSocketAddress |
getICELocalRelayedAddress(java.lang.String streamName)
Returns the ICE local relayed address (server or peer relayed).
|
java.net.InetSocketAddress |
getICERemoteHostAddress(java.lang.String streamName)
Returns the ICE remote host address.
|
java.net.InetSocketAddress |
getICERemoteReflexiveAddress(java.lang.String streamName)
Returns the ICE remote reflexive address (server or peer reflexive).
|
java.net.InetSocketAddress |
getICERemoteRelayedAddress(java.lang.String streamName)
Returns the ICE remote relayed address (server or peer relayed).
|
java.lang.String |
getICEState()
Returns the current state of ICE processing.
|
protected java.net.InetAddress |
getIntendedDestination(CallPeerSipImpl peer)
Returns the InetAddress that is most likely to be to be used
as a next hop when contacting the specified destination.
|
int |
getNbHarvesting()
Returns the number of harvesting for this agent.
|
int |
getNbHarvesting(java.lang.String harvesterName)
Returns the number of harvesting time for the harvester given in
parameter.
|
long |
getTotalHarvestingTime()
Returns the total harvesting time (in ms) for all harvesters.
|
closeStreamConnector, closeStreamConnector, createIceAgent, createIceStream, createStreamConnector, getCallPeer, getICECandidateExtendedType, getLastUsedLocalHost, getPortTracker, getPortTracker, getStreamConnector, initializePortNumbers, sendHolePunchPacket, sendHolePunchPacket, setTrafficClass
protected TransportManagerSipImpl(CallPeerSipImpl callPeer)
TransportManager
.callPeer
- the peer that we will be servicing.protected java.net.InetAddress getIntendedDestination(CallPeerSipImpl peer)
getIntendedDestination
in class TransportManager<CallPeerSipImpl>
peer
- the CallPeer that we would contact.java.lang.IllegalArgumentException
- if destination is not a valid
host/ip/fqdnpublic java.lang.String getICECandidateExtendedType(java.lang.String streamName)
getICECandidateExtendedType
in class TransportManager<CallPeerSipImpl>
streamName
- The stream name (AUDIO, VIDEO);public java.lang.String getICEState()
getICEState
in class TransportManager<CallPeerSipImpl>
public java.net.InetSocketAddress getICELocalHostAddress(java.lang.String streamName)
getICELocalHostAddress
in class TransportManager<CallPeerSipImpl>
streamName
- The stream name (AUDIO, VIDEO);public java.net.InetSocketAddress getICERemoteHostAddress(java.lang.String streamName)
getICERemoteHostAddress
in class TransportManager<CallPeerSipImpl>
streamName
- The stream name (AUDIO, VIDEO);public java.net.InetSocketAddress getICELocalReflexiveAddress(java.lang.String streamName)
getICELocalReflexiveAddress
in class TransportManager<CallPeerSipImpl>
streamName
- The stream name (AUDIO, VIDEO);public java.net.InetSocketAddress getICERemoteReflexiveAddress(java.lang.String streamName)
getICERemoteReflexiveAddress
in class TransportManager<CallPeerSipImpl>
streamName
- The stream name (AUDIO, VIDEO);public java.net.InetSocketAddress getICELocalRelayedAddress(java.lang.String streamName)
getICELocalRelayedAddress
in class TransportManager<CallPeerSipImpl>
streamName
- The stream name (AUDIO, VIDEO);public java.net.InetSocketAddress getICERemoteRelayedAddress(java.lang.String streamName)
getICERemoteRelayedAddress
in class TransportManager<CallPeerSipImpl>
streamName
- The stream name (AUDIO, VIDEO);public long getTotalHarvestingTime()
getTotalHarvestingTime
in class TransportManager<CallPeerSipImpl>
public long getHarvestingTime(java.lang.String harvesterName)
getHarvestingTime
in class TransportManager<CallPeerSipImpl>
harvesterName
- The class name if the harvester.public int getNbHarvesting()
getNbHarvesting
in class TransportManager<CallPeerSipImpl>
public int getNbHarvesting(java.lang.String harvesterName)
getNbHarvesting
in class TransportManager<CallPeerSipImpl>
harvesterName
- The class name if the harvester.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.