|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Reference
Super interface of service and device reference.
Field Summary | |
---|---|
static int |
LOCATION_LOCAL
|
static int |
LOCATION_REMOTE
|
static int |
LOCATION_UNKNOWN
|
Method Summary | |
---|---|
int |
getLocation()
Returns the location of the device or service, which may be - LOCATION_UNKNOWN, - LOCATION_REMOTE, - LOCATION_LOCAL. |
java.lang.String |
getPreferredCommunicationManagerID()
Returns the ID of the communication protocol to use when communicating with this reference's target over the current preferred transport address . |
URI |
getPreferredXAddress()
Returns the preferred transport address for communication with this reference. |
Field Detail |
---|
static final int LOCATION_UNKNOWN
static final int LOCATION_REMOTE
static final int LOCATION_LOCAL
Method Detail |
---|
int getLocation()
URI getPreferredXAddress() throws TimeoutException
TimeoutException
- if no suitable transport address can be detectedjava.lang.String getPreferredCommunicationManagerID() throws TimeoutException
preferred transport address
. Will return
the framework-wide
default communication ID
, if no preferred transport address has been
explicitly set.
TimeoutException
- if no suitable transport address can be detected
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |