Fixes javadocs.
This commit is contained in:
parent
cac14c0adc
commit
48dde7ea8c
@ -143,6 +143,4 @@ public class XorMappedAddressAttribute
|
|||||||
{
|
{
|
||||||
return applyXor(getAddress(), xorMask);
|
return applyXor(getAddress(), xorMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -95,7 +95,7 @@ class MessageProcessor
|
|||||||
{
|
{
|
||||||
while (isRunning)
|
while (isRunning)
|
||||||
{
|
{
|
||||||
RawMessage rawMessage = null;
|
RawMessage rawMessage;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
rawMessage = messageQueue.remove();
|
rawMessage = messageQueue.remove();
|
||||||
@ -104,15 +104,15 @@ class MessageProcessor
|
|||||||
{
|
{
|
||||||
if(isRunning())
|
if(isRunning())
|
||||||
logger.log(Level.WARNING,
|
logger.log(Level.WARNING,
|
||||||
"A net access point has gone useless:", ex);
|
"A net access point has gone useless: ", ex);
|
||||||
//nothing to do here since we test whether we are running
|
//nothing to do here since we test whether we are running
|
||||||
//just beneath ...
|
//just beneath ...
|
||||||
|
rawMessage = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// were we asked to stop?
|
// were we asked to stop?
|
||||||
if (!isRunning()){
|
if (!isRunning())
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
//anything to parse?
|
//anything to parse?
|
||||||
if (rawMessage == null)
|
if (rawMessage == null)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@ -312,13 +312,14 @@ public class MessageEventDispatchingTest extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores incoming requests.
|
* Stores incoming responses.
|
||||||
*
|
*
|
||||||
* @param responseEvt the event containing the incoming request.
|
* @param response a <tt>StunMessageEvent</tt> which describes the
|
||||||
|
* received STUN <tt>Response</tt>
|
||||||
*/
|
*/
|
||||||
public synchronized void processResponse(StunMessageEvent responseEvt)
|
public synchronized void processResponse(StunMessageEvent response)
|
||||||
{
|
{
|
||||||
receivedResponses.add(responseEvt);
|
receivedResponses.add(response);
|
||||||
notifyAll();
|
notifyAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -547,13 +547,13 @@ public class TransactionSupportTests extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Logs the received <tt>responseEvt</tt>
|
* Logs the received <tt>response</tt>
|
||||||
*
|
*
|
||||||
* @param responseEvt the event to log.
|
* @param response the event to log.
|
||||||
*/
|
*/
|
||||||
public void processResponse(StunMessageEvent responseEvt)
|
public void processResponse(StunMessageEvent response)
|
||||||
{
|
{
|
||||||
receivedResponses.add(responseEvt);
|
receivedResponses.add(response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -335,10 +335,13 @@ public class ShallowStackTest extends TestCase {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Logs the received response and notifies the wait method.
|
* Logs the received response and notifies the wait method.
|
||||||
|
*
|
||||||
|
* @param response a <tt>StunMessageEvent</tt> which describes the
|
||||||
|
* received STUN <tt>Response</tt>
|
||||||
*/
|
*/
|
||||||
public synchronized void processResponse(StunMessageEvent evt)
|
public synchronized void processResponse(StunMessageEvent response)
|
||||||
{
|
{
|
||||||
collectedResponse = (Response)evt.getMessage();
|
collectedResponse = (Response) response.getMessage();
|
||||||
logger.finest("Received response.");
|
logger.finest("Received response.");
|
||||||
notifyAll();
|
notifyAll();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user