org.littleshoot.stun.stack.message.attributes.turn
Class RemoteAddressAttribute

java.lang.Object
  extended by org.littleshoot.stun.stack.message.attributes.AbstractStunAttribute
      extended by org.littleshoot.stun.stack.message.attributes.AbstractStunAddressAttribute
          extended by org.littleshoot.stun.stack.message.attributes.turn.RemoteAddressAttribute
All Implemented Interfaces:
StunAddressAttribute, StunAttribute

public class RemoteAddressAttribute
extends AbstractStunAddressAttribute

Relay address attribute.


Constructor Summary
RemoteAddressAttribute(InetSocketAddress socketAddress)
          Creates a new relay address attribute.
 
Method Summary
 void accept(StunAttributeVisitor visitor)
          Allows attributes to accept visitors.
 
Methods inherited from class org.littleshoot.stun.stack.message.attributes.AbstractStunAddressAttribute
getAddressFamily, getInetSocketAddress, toString
 
Methods inherited from class org.littleshoot.stun.stack.message.attributes.AbstractStunAttribute
getAttributeType, getBodyLength, getTotalLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.littleshoot.stun.stack.message.attributes.StunAttribute
getAttributeType, getBodyLength, getTotalLength
 

Constructor Detail

RemoteAddressAttribute

public RemoteAddressAttribute(InetSocketAddress socketAddress)
Creates a new relay address attribute.

Parameters:
socketAddress - The IP and port to put in the attribute.
Method Detail

accept

public void accept(StunAttributeVisitor visitor)
Description copied from interface: StunAttribute
Allows attributes to accept visitors.

Parameters:
visitor - The visitor to accept.


Copyright © 2013 LittleShoot. All Rights Reserved.