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()
DOFAddressgetAddress in class DOFAddresspublic DOFAddress.Type getAddressType()
DOFAddressgetAddressType in class DOFAddresspublic java.lang.Class<? extends org.opendof.core.transport.Transport> getTransport()
DOFAddressgetTransport in class DOFAddresspublic DOFObjectID.Authentication getGroupID()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object