public final class DOFGroupAddress extends DOFAddress
DOFConnection.Type.GROUP
must use this
type of address.DOFAddress.Type
Constructor and Description |
---|
DOFGroupAddress(DOFObjectID.Authentication groupID)
Create a new group address from the object identifier that identifies the group.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getAddress()
Get the opaque transport-specific address information.
|
DOFAddress.Type |
getAddressType()
Get the transport type for the specific address information.
|
DOFObjectID.Authentication |
getGroupID()
Return the group identifier associated with the address.
|
java.lang.Class<? extends org.opendof.core.transport.Transport> |
getTransport()
Get the transport associated with the address.
|
int |
hashCode() |
java.lang.String |
toString() |
public DOFGroupAddress(DOFObjectID.Authentication groupID)
groupID
- The group identifier. This must not be null.public java.lang.Object getAddress()
DOFAddress
getAddress
in class DOFAddress
public DOFAddress.Type getAddressType()
DOFAddress
getAddressType
in class DOFAddress
public java.lang.Class<? extends org.opendof.core.transport.Transport> getTransport()
DOFAddress
getTransport
in class DOFAddress
public DOFObjectID.Authentication getGroupID()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object