|
JBoss Remoting 4.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.remoting3.security.InetAddressPrincipal
public final class InetAddressPrincipal

A principal representing an IP address.
| Constructor Summary | |
|---|---|
InetAddressPrincipal(InetAddress inetAddress)
Create a new instance. |
|
| Method Summary | |
|---|---|
InetAddressPrincipal |
clone()
Create a clone of this instance. |
boolean |
equals(InetAddressPrincipal other)
Determine whether this instance is equal to another. |
boolean |
equals(Object other)
Determine whether this instance is equal to another. |
InetAddress |
getInetAddress()
Get the IP address of this principal. |
String |
getName()
Get the name of this principal; it will be the string representation of the IP address. |
int |
hashCode()
Get the hash code for this instance. |
String |
toString()
Get a human-readable representation of this principal. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InetAddressPrincipal(InetAddress inetAddress)
inetAddress - the address| Method Detail |
|---|
public String getName()
getName in interface Principalpublic InetAddress getInetAddress()
public boolean equals(Object other)
equals in interface Principalequals in class Objectother - the other instance
true if they are equal, false otherwisepublic boolean equals(InetAddressPrincipal other)
other - the other instance
true if they are equal, false otherwisepublic int hashCode()
InetAddress object herein.
hashCode in interface PrincipalhashCode in class Objectpublic String toString()
toString in interface PrincipaltoString in class Objectpublic InetAddressPrincipal clone()
clone in class Object
|
JBoss Remoting 4.0.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||