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