Package net.handle.hdllib
Class ServerInfo
java.lang.Object
net.handle.hdllib.ServerInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]
byte[]
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
hashCode()
interfaceWithProtocol
(int desiredProtocol, AbstractRequest req) Return the server's Interface for the given protocol which can handle the given request; assume server has only 1 such interface.boolean
isIPv4()
toString()
-
Field Details
-
serverId
public int serverId -
ipAddress
public byte[] ipAddress -
publicKey
public byte[] publicKey -
interfaces
-
-
Constructor Details
-
ServerInfo
public ServerInfo()
-
-
Method Details
-
interfaceWithProtocol
Return the server's Interface for the given protocol which can handle the given request; assume server has only 1 such interface. -
isIPv4
public boolean isIPv4() -
getInetAddress
-
getAddressString
-
toString
-
cloneServerInfo
-
getPublicKey
- Throws:
Exception
-
hashCode
public int hashCode() -
equals
-
hasAllZerosAddress
public boolean hasAllZerosAddress()
-