public interface Reference
| Modifier and Type | Field and Description |
|---|---|
static int |
LOCATION_LOCAL |
static int |
LOCATION_REMOTE |
static int |
LOCATION_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComManId()
Returns the ID of the communication protocol to use when communicating with this reference's
target over the current
preferred transport address. |
int |
getLocation()
Returns the location of the device or service, which may be - LOCATION_UNKNOWN, -
LOCATION_REMOTE, - LOCATION_LOCAL.
|
URI |
getPreferredXAddress()
Returns the preferred transport address for communication with this reference.
|
static final int LOCATION_UNKNOWN
static final int LOCATION_REMOTE
static final int LOCATION_LOCAL
int getLocation()
URI getPreferredXAddress() throws CommunicationException
CommunicationException - if no suitable transport address can be detectedjava.lang.String getComManId()
preferred transport address. Will
return the framework-wide
default communication ID, if no preferred transport address has been explicitly set.CommunicationException - if no suitable transport address can be detected