public static XorRelayedAddressAttribute createXorRelayedAddressAttribute ( TransportAddress address , byte [ ] tranID ) { XorRelayedAddressAttribute attribute = new XorRelayedAddressAttribute ( ) ; // TODO shouldn't we be XORing the address before setting it? attribute . setAddress ( address , tranID ) ; return attribute ; }
Creates a XorRelayedAddressAttribute of the specified type and with the specified address and port .