Package | Description |
---|---|
org.ice4j.ice.harvest |
Modifier and Type | Field and Description |
---|---|
private ArrayBlockingQueue<AbstractUdpListener.Buffer> |
AbstractUdpListener.pool
A pool of Buffer instances used to avoid creating of new java
objects.
|
private ArrayBlockingQueue<AbstractUdpListener.Buffer> |
AbstractUdpListener.MySocket.queue
The FIFO which acts as a buffer for this socket.
|
Modifier and Type | Method and Description |
---|---|
private AbstractUdpListener.Buffer |
AbstractUdpListener.getFreeBuffer()
Gets an unused Buffer instance, creating it if necessary.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractUdpListener.MySocket.addBuffer(AbstractUdpListener.Buffer buf)
Adds pkt to this socket.
|
protected void |
SinglePortUdpHarvester.maybeAcceptNewSession(AbstractUdpListener.Buffer buf,
InetSocketAddress remoteAddress,
String ufrag)
Handles the reception of a STUN Binding Request with a valid USERNAME
attribute, from a "new" remote address (one which is not in
AbstractUdpListener.sockets ). |
protected abstract void |
AbstractUdpListener.maybeAcceptNewSession(AbstractUdpListener.Buffer buf,
InetSocketAddress remoteAddress,
String ufrag)
Handles the reception of a STUN Binding Request with a valid USERNAME
attribute, from a "new" remote address (one which is not in
AbstractUdpListener.sockets ). |
Copyright © 2018. All rights reserved.