diff options
Diffstat (limited to 'java/src/Ice/Request.java')
-rw-r--r-- | java/src/Ice/Request.java | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/java/src/Ice/Request.java b/java/src/Ice/Request.java index 71d472b18b4..a9e7a07080e 100644 --- a/java/src/Ice/Request.java +++ b/java/src/Ice/Request.java @@ -9,8 +9,23 @@ package Ice; +/** + * Interface for incoming requests. + **/ public interface Request { + /** + * Returns whether this request is collocated. + * + * @return <code>true</code> if the invocation was made via proxy created by the same communicator + * that hosts the target's object adapter; <code>false</code>, otherwise. + **/ boolean isCollocated(); + + /** + * Returns the <code>Current</code> object for this the request. + * + * @return The <code>Current</code> object for this request. + **/ Current getCurrent(); -}
\ No newline at end of file +} |