projects
/
iot2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using sorted integer as method Id instead of hash values
[iot2.git]
/
iotjava
/
iotrmi
/
Java
/
sample
/
CallBack_Stub.java
diff --git
a/iotjava/iotrmi/Java/sample/CallBack_Stub.java
b/iotjava/iotrmi/Java/sample/CallBack_Stub.java
index 3ec19d55f1ce663e3e62696afd4636a25e4bf378..0ea9728780452a256b22b0756192c1bc5f3d962a 100644
(file)
--- a/
iotjava/iotrmi/Java/sample/CallBack_Stub.java
+++ b/
iotjava/iotrmi/Java/sample/CallBack_Stub.java
@@
-10,12
+10,18
@@
public class CallBack_Stub implements CallBackInterface {
*/
private IoTRMICall rmiCall;
*/
private IoTRMICall rmiCall;
+ private String[] methodSignatures = {
+
+ "intprintInt()",
+ "voidsetInt(int)"
+ };
+
/**
* Constructors
*/
public CallBack_Stub(int _port, String _address, int _rev) throws IOException {
/**
* Constructors
*/
public CallBack_Stub(int _port, String _address, int _rev) throws IOException {
- rmiCall = new IoTRMICall(_port, _address, _rev);
+ rmiCall = new IoTRMICall(_port, _address, _rev
, methodSignatures
);
}
}