1 4 package org.objectweb.proactive.core.body.jini; 5 6 public final class JiniBodyImpl_Stub 7 extends java.rmi.server.RemoteStub 8 implements org.objectweb.proactive.core.body.jini.JiniBody, java.rmi.Remote 9 { 10 private static final long serialVersionUID = 2; 11 12 private static java.lang.reflect.Method $method_disableAC_0; 13 private static java.lang.reflect.Method $method_enableAC_1; 14 private static java.lang.reflect.Method $method_getCertificate_2; 15 private static java.lang.reflect.Method $method_getCertificateEncoded_3; 16 private static java.lang.reflect.Method $method_getEntities_4; 17 private static java.lang.reflect.Method $method_getID_5; 18 private static java.lang.reflect.Method $method_getNodeURL_6; 19 private static java.lang.reflect.Method $method_getPolicy_7; 20 private static java.lang.reflect.Method $method_getPolicyFrom_8; 21 private static java.lang.reflect.Method $method_getPolicyTo_9; 22 private static java.lang.reflect.Method $method_getProActiveSecurityManager_10; 23 private static java.lang.reflect.Method $method_getPublicKey_11; 24 private static java.lang.reflect.Method $method_getVNName_12; 25 private static java.lang.reflect.Method $method_initiateSession_13; 26 private static java.lang.reflect.Method $method_negociateKeyReceiverSide_14; 27 private static java.lang.reflect.Method $method_publicKeyExchange_15; 28 private static java.lang.reflect.Method $method_randomValue_16; 29 private static java.lang.reflect.Method $method_receiveReply_17; 30 private static java.lang.reflect.Method $method_receiveRequest_18; 31 private static java.lang.reflect.Method $method_secretKeyExchange_19; 32 private static java.lang.reflect.Method $method_setImmediateService_20; 33 private static java.lang.reflect.Method $method_startNewSession_21; 34 private static java.lang.reflect.Method $method_terminateSession_22; 35 private static java.lang.reflect.Method $method_updateLocation_23; 36 37 static { 38 try { 39 $method_disableAC_0 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("disableAC", new java.lang.Class [] {}); 40 $method_enableAC_1 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("enableAC", new java.lang.Class [] {}); 41 $method_getCertificate_2 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getCertificate", new java.lang.Class [] {}); 42 $method_getCertificateEncoded_3 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getCertificateEncoded", new java.lang.Class [] {}); 43 $method_getEntities_4 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getEntities", new java.lang.Class [] {}); 44 $method_getID_5 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getID", new java.lang.Class [] {}); 45 $method_getNodeURL_6 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getNodeURL", new java.lang.Class [] {}); 46 $method_getPolicy_7 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getPolicy", new java.lang.Class [] {org.objectweb.proactive.ext.security.SecurityContext.class}); 47 $method_getPolicyFrom_8 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getPolicyFrom", new java.lang.Class [] {java.security.cert.X509Certificate .class}); 48 $method_getPolicyTo_9 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getPolicyTo", new java.lang.Class [] {java.lang.String .class, java.lang.String .class, java.lang.String .class}); 49 $method_getProActiveSecurityManager_10 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getProActiveSecurityManager", new java.lang.Class [] {}); 50 $method_getPublicKey_11 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getPublicKey", new java.lang.Class [] {}); 51 $method_getVNName_12 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("getVNName", new java.lang.Class [] {}); 52 $method_initiateSession_13 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("initiateSession", new java.lang.Class [] {int.class, org.objectweb.proactive.core.body.UniversalBody.class}); 53 $method_negociateKeyReceiverSide_14 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("negociateKeyReceiverSide", new java.lang.Class [] {org.objectweb.proactive.ext.security.crypto.ConfidentialityTicket.class, long.class}); 54 $method_publicKeyExchange_15 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("publicKeyExchange", new java.lang.Class [] {long.class, org.objectweb.proactive.core.body.UniversalBody.class, byte[].class, byte[].class, byte[].class}); 55 $method_randomValue_16 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("randomValue", new java.lang.Class [] {long.class, byte[].class}); 56 $method_receiveReply_17 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("receiveReply", new java.lang.Class [] {org.objectweb.proactive.core.body.reply.Reply.class}); 57 $method_receiveRequest_18 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("receiveRequest", new java.lang.Class [] {org.objectweb.proactive.core.body.request.Request.class}); 58 $method_secretKeyExchange_19 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("secretKeyExchange", new java.lang.Class [] {long.class, byte[].class, byte[].class, byte[].class, byte[].class, byte[].class}); 59 $method_setImmediateService_20 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("setImmediateService", new java.lang.Class [] {java.lang.String .class}); 60 $method_startNewSession_21 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("startNewSession", new java.lang.Class [] {org.objectweb.proactive.ext.security.Communication.class}); 61 $method_terminateSession_22 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("terminateSession", new java.lang.Class [] {long.class}); 62 $method_updateLocation_23 = org.objectweb.proactive.core.body.jini.JiniBody.class.getMethod("updateLocation", new java.lang.Class [] {org.objectweb.proactive.core.UniqueID.class, org.objectweb.proactive.core.body.UniversalBody.class}); 63 } catch (java.lang.NoSuchMethodException e) { 64 throw new java.lang.NoSuchMethodError ( 65 "stub class initialization failed"); 66 } 67 } 68 69 public JiniBodyImpl_Stub(java.rmi.server.RemoteRef ref) { 71 super(ref); 72 } 73 74 76 public void disableAC() 78 throws java.io.IOException 79 { 80 try { 81 ref.invoke(this, $method_disableAC_0, null, -3285613926182949402L); 82 } catch (java.lang.RuntimeException e) { 83 throw e; 84 } catch (java.io.IOException e) { 85 throw e; 86 } catch (java.lang.Exception e) { 87 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 88 } 89 } 90 91 public void enableAC() 93 throws java.io.IOException 94 { 95 try { 96 ref.invoke(this, $method_enableAC_1, null, 1438137420982103687L); 97 } catch (java.lang.RuntimeException e) { 98 throw e; 99 } catch (java.io.IOException e) { 100 throw e; 101 } catch (java.lang.Exception e) { 102 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 103 } 104 } 105 106 public java.security.cert.X509Certificate getCertificate() 108 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 109 { 110 try { 111 Object $result = ref.invoke(this, $method_getCertificate_2, null, 8675304859736944914L); 112 return ((java.security.cert.X509Certificate ) $result); 113 } catch (java.lang.RuntimeException e) { 114 throw e; 115 } catch (java.io.IOException e) { 116 throw e; 117 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 118 throw e; 119 } catch (java.lang.Exception e) { 120 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 121 } 122 } 123 124 public byte[] getCertificateEncoded() 126 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 127 { 128 try { 129 Object $result = ref.invoke(this, $method_getCertificateEncoded_3, null, 8235980667087406315L); 130 return ((byte[]) $result); 131 } catch (java.lang.RuntimeException e) { 132 throw e; 133 } catch (java.io.IOException e) { 134 throw e; 135 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 136 throw e; 137 } catch (java.lang.Exception e) { 138 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 139 } 140 } 141 142 public java.util.ArrayList getEntities() 144 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 145 { 146 try { 147 Object $result = ref.invoke(this, $method_getEntities_4, null, -2337364679294098933L); 148 return ((java.util.ArrayList ) $result); 149 } catch (java.lang.RuntimeException e) { 150 throw e; 151 } catch (java.io.IOException e) { 152 throw e; 153 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 154 throw e; 155 } catch (java.lang.Exception e) { 156 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 157 } 158 } 159 160 public org.objectweb.proactive.core.UniqueID getID() 162 throws java.rmi.RemoteException 163 { 164 try { 165 Object $result = ref.invoke(this, $method_getID_5, null, -43519960006541509L); 166 return ((org.objectweb.proactive.core.UniqueID) $result); 167 } catch (java.lang.RuntimeException e) { 168 throw e; 169 } catch (java.rmi.RemoteException e) { 170 throw e; 171 } catch (java.lang.Exception e) { 172 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 173 } 174 } 175 176 public java.lang.String getNodeURL() 178 throws java.rmi.RemoteException 179 { 180 try { 181 Object $result = ref.invoke(this, $method_getNodeURL_6, null, 5014550311514725112L); 182 return ((java.lang.String ) $result); 183 } catch (java.lang.RuntimeException e) { 184 throw e; 185 } catch (java.rmi.RemoteException e) { 186 throw e; 187 } catch (java.lang.Exception e) { 188 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 189 } 190 } 191 192 public org.objectweb.proactive.ext.security.SecurityContext getPolicy(org.objectweb.proactive.ext.security.SecurityContext $param_SecurityContext_1) 194 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 195 { 196 try { 197 Object $result = ref.invoke(this, $method_getPolicy_7, new java.lang.Object [] {$param_SecurityContext_1}, 8018755396255564061L); 198 return ((org.objectweb.proactive.ext.security.SecurityContext) $result); 199 } catch (java.lang.RuntimeException e) { 200 throw e; 201 } catch (java.io.IOException e) { 202 throw e; 203 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 204 throw e; 205 } catch (java.lang.Exception e) { 206 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 207 } 208 } 209 210 public org.objectweb.proactive.ext.security.Policy getPolicyFrom(java.security.cert.X509Certificate $param_X509Certificate_1) 212 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 213 { 214 try { 215 Object $result = ref.invoke(this, $method_getPolicyFrom_8, new java.lang.Object [] {$param_X509Certificate_1}, 1006236997828581598L); 216 return ((org.objectweb.proactive.ext.security.Policy) $result); 217 } catch (java.lang.RuntimeException e) { 218 throw e; 219 } catch (java.io.IOException e) { 220 throw e; 221 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 222 throw e; 223 } catch (java.lang.Exception e) { 224 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 225 } 226 } 227 228 public org.objectweb.proactive.ext.security.Communication getPolicyTo(java.lang.String $param_String_1, java.lang.String $param_String_2, java.lang.String $param_String_3) 230 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 231 { 232 try { 233 Object $result = ref.invoke(this, $method_getPolicyTo_9, new java.lang.Object [] {$param_String_1, $param_String_2, $param_String_3}, 5893120885158463165L); 234 return ((org.objectweb.proactive.ext.security.Communication) $result); 235 } catch (java.lang.RuntimeException e) { 236 throw e; 237 } catch (java.io.IOException e) { 238 throw e; 239 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 240 throw e; 241 } catch (java.lang.Exception e) { 242 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 243 } 244 } 245 246 public org.objectweb.proactive.ext.security.ProActiveSecurityManager getProActiveSecurityManager() 248 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 249 { 250 try { 251 Object $result = ref.invoke(this, $method_getProActiveSecurityManager_10, null, 5321780549234329394L); 252 return ((org.objectweb.proactive.ext.security.ProActiveSecurityManager) $result); 253 } catch (java.lang.RuntimeException e) { 254 throw e; 255 } catch (java.io.IOException e) { 256 throw e; 257 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 258 throw e; 259 } catch (java.lang.Exception e) { 260 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 261 } 262 } 263 264 public java.security.PublicKey getPublicKey() 266 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 267 { 268 try { 269 Object $result = ref.invoke(this, $method_getPublicKey_11, null, 8742538979109225578L); 270 return ((java.security.PublicKey ) $result); 271 } catch (java.lang.RuntimeException e) { 272 throw e; 273 } catch (java.io.IOException e) { 274 throw e; 275 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 276 throw e; 277 } catch (java.lang.Exception e) { 278 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 279 } 280 } 281 282 public java.lang.String getVNName() 284 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 285 { 286 try { 287 Object $result = ref.invoke(this, $method_getVNName_12, null, 1892341290189789935L); 288 return ((java.lang.String ) $result); 289 } catch (java.lang.RuntimeException e) { 290 throw e; 291 } catch (java.io.IOException e) { 292 throw e; 293 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 294 throw e; 295 } catch (java.lang.Exception e) { 296 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 297 } 298 } 299 300 public void initiateSession(int $param_int_1, org.objectweb.proactive.core.body.UniversalBody $param_UniversalBody_2) 302 throws java.io.IOException , java.rmi.RemoteException , org.objectweb.proactive.ext.security.CommunicationForbiddenException, org.objectweb.proactive.ext.security.RenegotiateSessionException, org.objectweb.proactive.ext.security.SecurityNotAvailableException, org.objectweb.proactive.ext.security.crypto.AuthenticationException 303 { 304 try { 305 ref.invoke(this, $method_initiateSession_13, new java.lang.Object [] {new java.lang.Integer ($param_int_1), $param_UniversalBody_2}, 8153834417009407529L); 306 } catch (java.lang.RuntimeException e) { 307 throw e; 308 } catch (java.io.IOException e) { 309 throw e; 310 } catch (org.objectweb.proactive.ext.security.CommunicationForbiddenException e) { 311 throw e; 312 } catch (org.objectweb.proactive.ext.security.RenegotiateSessionException e) { 313 throw e; 314 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 315 throw e; 316 } catch (org.objectweb.proactive.ext.security.crypto.AuthenticationException e) { 317 throw e; 318 } catch (java.lang.Exception e) { 319 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 320 } 321 } 322 323 public org.objectweb.proactive.ext.security.crypto.ConfidentialityTicket negociateKeyReceiverSide(org.objectweb.proactive.ext.security.crypto.ConfidentialityTicket $param_ConfidentialityTicket_1, long $param_long_2) 325 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException, org.objectweb.proactive.ext.security.crypto.KeyExchangeException 326 { 327 try { 328 Object $result = ref.invoke(this, $method_negociateKeyReceiverSide_14, new java.lang.Object [] {$param_ConfidentialityTicket_1, new java.lang.Long ($param_long_2)}, -1260313072555354081L); 329 return ((org.objectweb.proactive.ext.security.crypto.ConfidentialityTicket) $result); 330 } catch (java.lang.RuntimeException e) { 331 throw e; 332 } catch (java.io.IOException e) { 333 throw e; 334 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 335 throw e; 336 } catch (org.objectweb.proactive.ext.security.crypto.KeyExchangeException e) { 337 throw e; 338 } catch (java.lang.Exception e) { 339 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 340 } 341 } 342 343 public byte[][] publicKeyExchange(long $param_long_1, org.objectweb.proactive.core.body.UniversalBody $param_UniversalBody_2, byte[] $param_arrayOf_byte_3, byte[] $param_arrayOf_byte_4, byte[] $param_arrayOf_byte_5) 345 throws java.lang.Exception , org.objectweb.proactive.ext.security.SecurityNotAvailableException 346 { 347 Object $result = ref.invoke(this, $method_publicKeyExchange_15, new java.lang.Object [] {new java.lang.Long ($param_long_1), $param_UniversalBody_2, $param_arrayOf_byte_3, $param_arrayOf_byte_4, $param_arrayOf_byte_5}, 8360414200609943328L); 348 return ((byte[][]) $result); 349 } 350 351 public byte[] randomValue(long $param_long_1, byte[] $param_arrayOf_byte_2) 353 throws java.lang.Exception , org.objectweb.proactive.ext.security.SecurityNotAvailableException 354 { 355 Object $result = ref.invoke(this, $method_randomValue_16, new java.lang.Object [] {new java.lang.Long ($param_long_1), $param_arrayOf_byte_2}, 1611181899341057267L); 356 return ((byte[]) $result); 357 } 358 359 public void receiveReply(org.objectweb.proactive.core.body.reply.Reply $param_Reply_1) 361 throws java.io.IOException 362 { 363 try { 364 ref.invoke(this, $method_receiveReply_17, new java.lang.Object [] {$param_Reply_1}, 3206061685727816101L); 365 } catch (java.lang.RuntimeException e) { 366 throw e; 367 } catch (java.io.IOException e) { 368 throw e; 369 } catch (java.lang.Exception e) { 370 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 371 } 372 } 373 374 public void receiveRequest(org.objectweb.proactive.core.body.request.Request $param_Request_1) 376 throws java.io.IOException , org.objectweb.proactive.ext.security.RenegotiateSessionException 377 { 378 try { 379 ref.invoke(this, $method_receiveRequest_18, new java.lang.Object [] {$param_Request_1}, -6088813248804490968L); 380 } catch (java.lang.RuntimeException e) { 381 throw e; 382 } catch (java.io.IOException e) { 383 throw e; 384 } catch (org.objectweb.proactive.ext.security.RenegotiateSessionException e) { 385 throw e; 386 } catch (java.lang.Exception e) { 387 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 388 } 389 } 390 391 public byte[][] secretKeyExchange(long $param_long_1, byte[] $param_arrayOf_byte_2, byte[] $param_arrayOf_byte_3, byte[] $param_arrayOf_byte_4, byte[] $param_arrayOf_byte_5, byte[] $param_arrayOf_byte_6) 393 throws java.lang.Exception , org.objectweb.proactive.ext.security.SecurityNotAvailableException 394 { 395 Object $result = ref.invoke(this, $method_secretKeyExchange_19, new java.lang.Object [] {new java.lang.Long ($param_long_1), $param_arrayOf_byte_2, $param_arrayOf_byte_3, $param_arrayOf_byte_4, $param_arrayOf_byte_5, $param_arrayOf_byte_6}, 8096114644944215683L); 396 return ((byte[][]) $result); 397 } 398 399 public void setImmediateService(java.lang.String $param_String_1) 401 throws java.io.IOException 402 { 403 try { 404 ref.invoke(this, $method_setImmediateService_20, new java.lang.Object [] {$param_String_1}, -565508681287133582L); 405 } catch (java.lang.RuntimeException e) { 406 throw e; 407 } catch (java.io.IOException e) { 408 throw e; 409 } catch (java.lang.Exception e) { 410 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 411 } 412 } 413 414 public long startNewSession(org.objectweb.proactive.ext.security.Communication $param_Communication_1) 416 throws java.io.IOException , org.objectweb.proactive.ext.security.RenegotiateSessionException, org.objectweb.proactive.ext.security.SecurityNotAvailableException 417 { 418 try { 419 Object $result = ref.invoke(this, $method_startNewSession_21, new java.lang.Object [] {$param_Communication_1}, -8698074113487452212L); 420 return ((java.lang.Long ) $result).longValue(); 421 } catch (java.lang.RuntimeException e) { 422 throw e; 423 } catch (java.io.IOException e) { 424 throw e; 425 } catch (org.objectweb.proactive.ext.security.RenegotiateSessionException e) { 426 throw e; 427 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 428 throw e; 429 } catch (java.lang.Exception e) { 430 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 431 } 432 } 433 434 public void terminateSession(long $param_long_1) 436 throws java.io.IOException , org.objectweb.proactive.ext.security.SecurityNotAvailableException 437 { 438 try { 439 ref.invoke(this, $method_terminateSession_22, new java.lang.Object [] {new java.lang.Long ($param_long_1)}, -6572756634747465471L); 440 } catch (java.lang.RuntimeException e) { 441 throw e; 442 } catch (java.io.IOException e) { 443 throw e; 444 } catch (org.objectweb.proactive.ext.security.SecurityNotAvailableException e) { 445 throw e; 446 } catch (java.lang.Exception e) { 447 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 448 } 449 } 450 451 public void updateLocation(org.objectweb.proactive.core.UniqueID $param_UniqueID_1, org.objectweb.proactive.core.body.UniversalBody $param_UniversalBody_2) 453 throws java.io.IOException 454 { 455 try { 456 ref.invoke(this, $method_updateLocation_23, new java.lang.Object [] {$param_UniqueID_1, $param_UniversalBody_2}, -262658786594814972L); 457 } catch (java.lang.RuntimeException e) { 458 throw e; 459 } catch (java.io.IOException e) { 460 throw e; 461 } catch (java.lang.Exception e) { 462 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 463 } 464 } 465 } 466 | Popular Tags |