LimeWire Consolidated API

org.limewire.security
Class AddressSecurityToken.AddressTokenData

java.lang.Object
  extended by org.limewire.security.AddressSecurityToken.AddressTokenData
All Implemented Interfaces:
SecurityToken.TokenData
Direct Known Subclasses:
DefaultMessageID.DHTTokenData
Enclosing class:
AddressSecurityToken

public static class AddressSecurityToken.AddressTokenData
extends Object
implements SecurityToken.TokenData

Converts the IP address and port into an encrypted byte[].


Field Summary
protected  byte[] data
           
 
Constructor Summary
AddressSecurityToken.AddressTokenData(InetAddress addr, int port)
           
AddressSecurityToken.AddressTokenData(SocketAddress address)
           
 
Method Summary
 byte[] getData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected final byte[] data
Constructor Detail

AddressSecurityToken.AddressTokenData

public AddressSecurityToken.AddressTokenData(SocketAddress address)

AddressSecurityToken.AddressTokenData

public AddressSecurityToken.AddressTokenData(InetAddress addr,
                                             int port)
Method Detail

getData

public byte[] getData()
Specified by:
getData in interface SecurityToken.TokenData

LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.