Package org.jgroups.stack
Class RouterStubManager.Target
- java.lang.Object
-
- org.jgroups.stack.RouterStubManager.Target
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Comparator<RouterStubManager.Target>
- Enclosing class:
- RouterStubManager
protected static class RouterStubManager.Target extends java.lang.Object implements java.util.Comparator<RouterStubManager.Target>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IpAddress
bind_addr
protected RouterStub.StubReceiver
receiver
protected IpAddress
router_addr
-
Constructor Summary
Constructors Constructor Description Target(IpAddress bind_addr, IpAddress router_addr, RouterStub.StubReceiver receiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(RouterStubManager.Target o1, RouterStubManager.Target o2)
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
bind_addr
protected final IpAddress bind_addr
-
router_addr
protected final IpAddress router_addr
-
receiver
protected final RouterStub.StubReceiver receiver
-
-
Constructor Detail
-
Target
public Target(IpAddress bind_addr, IpAddress router_addr, RouterStub.StubReceiver receiver)
-
-
Method Detail
-
compare
public int compare(RouterStubManager.Target o1, RouterStubManager.Target o2)
- Specified by:
compare
in interfacejava.util.Comparator<RouterStubManager.Target>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacejava.util.Comparator<RouterStubManager.Target>
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-