response.writeTo(this.socket.getOutputStream());
}
private void handleMessageWithChangeRequestAttribute(final Message toHandle, final InetSocketAddress remoteAddress)
throws Exception {
final ChangeRequest changeRequest = toHandle.getAttribute(ChangeRequest.class);
logger.debug("Getting indication with change request flag = {}", changeRequest.getFlag()); //$NON-NLS-1$
switch (changeRequest.getFlag()) {
case ChangeRequest.CHANGE_IP_AND_PORT:
this.sendIndicationViaNewSocket(new InetSocketAddress(this.secondaryAddress.getAddress(), this.thirdPort),
toHandle, remoteAddress);
break;
case ChangeRequest.CHANGE_PORT: