1 package org.omg.DynamicAny; 2 3 4 10 11 12 17 public class _DynArrayStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.DynamicAny.DynArray 18 { 19 final public static java.lang.Class _opsClass = DynArrayOperations .class; 20 21 22 23 26 public org.omg.CORBA.Any [] get_elements () 27 { 28 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_elements", _opsClass); 29 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 30 31 try { 32 return $self.get_elements (); 33 } finally { 34 _servant_postinvoke ($so); 35 } 36 } 38 39 45 public void set_elements (org.omg.CORBA.Any [] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 46 { 47 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_elements", _opsClass); 48 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 49 50 try { 51 $self.set_elements (value); 52 } finally { 53 _servant_postinvoke ($so); 54 } 55 } 57 58 61 public org.omg.DynamicAny.DynAny [] get_elements_as_dyn_any () 62 { 63 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_elements_as_dyn_any", _opsClass); 64 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 65 66 try { 67 return $self.get_elements_as_dyn_any (); 68 } finally { 69 _servant_postinvoke ($so); 70 } 71 } 73 74 80 public void set_elements_as_dyn_any (org.omg.DynamicAny.DynAny [] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 81 { 82 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_elements_as_dyn_any", _opsClass); 83 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 84 85 try { 86 $self.set_elements_as_dyn_any (value); 87 } finally { 88 _servant_postinvoke ($so); 89 } 90 } 92 93 102 public org.omg.CORBA.TypeCode type () 103 { 104 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("type", _opsClass); 105 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 106 107 try { 108 return $self.type (); 109 } finally { 110 _servant_postinvoke ($so); 111 } 112 } 114 115 124 public void assign (org.omg.DynamicAny.DynAny dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 125 { 126 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("assign", _opsClass); 127 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 128 129 try { 130 $self.assign (dyn_any); 131 } finally { 132 _servant_postinvoke ($so); 133 } 134 } 136 137 145 public void from_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 146 { 147 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("from_any", _opsClass); 148 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 149 150 try { 151 $self.from_any (value); 152 } finally { 153 _servant_postinvoke ($so); 154 } 155 } 157 158 165 public org.omg.CORBA.Any to_any () 166 { 167 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("to_any", _opsClass); 168 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 169 170 try { 171 return $self.to_any (); 172 } finally { 173 _servant_postinvoke ($so); 174 } 175 } 177 178 186 public boolean equal (org.omg.DynamicAny.DynAny dyn_any) 187 { 188 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("equal", _opsClass); 189 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 190 191 try { 192 return $self.equal (dyn_any); 193 } finally { 194 _servant_postinvoke ($so); 195 } 196 } 198 199 213 public void destroy () 214 { 215 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("destroy", _opsClass); 216 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 217 218 try { 219 $self.destroy (); 220 } finally { 221 _servant_postinvoke ($so); 222 } 223 } 225 226 233 public org.omg.DynamicAny.DynAny copy () 234 { 235 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("copy", _opsClass); 236 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 237 238 try { 239 return $self.copy (); 240 } finally { 241 _servant_postinvoke ($so); 242 } 243 } 245 246 252 public void insert_boolean (boolean value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 253 { 254 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_boolean", _opsClass); 255 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 256 257 try { 258 $self.insert_boolean (value); 259 } finally { 260 _servant_postinvoke ($so); 261 } 262 } 264 265 271 public void insert_octet (byte value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 272 { 273 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_octet", _opsClass); 274 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 275 276 try { 277 $self.insert_octet (value); 278 } finally { 279 _servant_postinvoke ($so); 280 } 281 } 283 284 290 public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 291 { 292 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_char", _opsClass); 293 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 294 295 try { 296 $self.insert_char (value); 297 } finally { 298 _servant_postinvoke ($so); 299 } 300 } 302 303 309 public void insert_short (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 310 { 311 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_short", _opsClass); 312 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 313 314 try { 315 $self.insert_short (value); 316 } finally { 317 _servant_postinvoke ($so); 318 } 319 } 321 322 328 public void insert_ushort (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 329 { 330 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ushort", _opsClass); 331 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 332 333 try { 334 $self.insert_ushort (value); 335 } finally { 336 _servant_postinvoke ($so); 337 } 338 } 340 341 347 public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 348 { 349 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_long", _opsClass); 350 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 351 352 try { 353 $self.insert_long (value); 354 } finally { 355 _servant_postinvoke ($so); 356 } 357 } 359 360 366 public void insert_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 367 { 368 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulong", _opsClass); 369 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 370 371 try { 372 $self.insert_ulong (value); 373 } finally { 374 _servant_postinvoke ($so); 375 } 376 } 378 379 385 public void insert_float (float value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 386 { 387 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_float", _opsClass); 388 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 389 390 try { 391 $self.insert_float (value); 392 } finally { 393 _servant_postinvoke ($so); 394 } 395 } 397 398 404 public void insert_double (double value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 405 { 406 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_double", _opsClass); 407 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 408 409 try { 410 $self.insert_double (value); 411 } finally { 412 _servant_postinvoke ($so); 413 } 414 } 416 417 425 public void insert_string (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 426 { 427 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_string", _opsClass); 428 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 429 430 try { 431 $self.insert_string (value); 432 } finally { 433 _servant_postinvoke ($so); 434 } 435 } 437 438 444 public void insert_reference (org.omg.CORBA.Object value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 445 { 446 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_reference", _opsClass); 447 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 448 449 try { 450 $self.insert_reference (value); 451 } finally { 452 _servant_postinvoke ($so); 453 } 454 } 456 457 463 public void insert_typecode (org.omg.CORBA.TypeCode value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 464 { 465 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_typecode", _opsClass); 466 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 467 468 try { 469 $self.insert_typecode (value); 470 } finally { 471 _servant_postinvoke ($so); 472 } 473 } 475 476 482 public void insert_longlong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 483 { 484 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_longlong", _opsClass); 485 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 486 487 try { 488 $self.insert_longlong (value); 489 } finally { 490 _servant_postinvoke ($so); 491 } 492 } 494 495 502 public void insert_ulonglong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 503 { 504 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulonglong", _opsClass); 505 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 506 507 try { 508 $self.insert_ulonglong (value); 509 } finally { 510 _servant_postinvoke ($so); 511 } 512 } 514 515 521 public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 522 { 523 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wchar", _opsClass); 524 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 525 526 try { 527 $self.insert_wchar (value); 528 } finally { 529 _servant_postinvoke ($so); 530 } 531 } 533 534 541 public void insert_wstring (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 542 { 543 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wstring", _opsClass); 544 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 545 546 try { 547 $self.insert_wstring (value); 548 } finally { 549 _servant_postinvoke ($so); 550 } 551 } 553 554 560 public void insert_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 561 { 562 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_any", _opsClass); 563 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 564 565 try { 566 $self.insert_any (value); 567 } finally { 568 _servant_postinvoke ($so); 569 } 570 } 572 573 579 public void insert_dyn_any (org.omg.DynamicAny.DynAny value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 580 { 581 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_dyn_any", _opsClass); 582 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 583 584 try { 585 $self.insert_dyn_any (value); 586 } finally { 587 _servant_postinvoke ($so); 588 } 589 } 591 592 599 public void insert_val (java.io.Serializable value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 600 { 601 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_val", _opsClass); 602 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 603 604 try { 605 $self.insert_val (value); 606 } finally { 607 _servant_postinvoke ($so); 608 } 609 } 611 612 620 public boolean get_boolean () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 621 { 622 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_boolean", _opsClass); 623 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 624 625 try { 626 return $self.get_boolean (); 627 } finally { 628 _servant_postinvoke ($so); 629 } 630 } 632 633 641 public byte get_octet () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 642 { 643 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_octet", _opsClass); 644 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 645 646 try { 647 return $self.get_octet (); 648 } finally { 649 _servant_postinvoke ($so); 650 } 651 } 653 654 662 public char get_char () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 663 { 664 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_char", _opsClass); 665 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 666 667 try { 668 return $self.get_char (); 669 } finally { 670 _servant_postinvoke ($so); 671 } 672 } 674 675 683 public short get_short () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 684 { 685 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_short", _opsClass); 686 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 687 688 try { 689 return $self.get_short (); 690 } finally { 691 _servant_postinvoke ($so); 692 } 693 } 695 696 704 public short get_ushort () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 705 { 706 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ushort", _opsClass); 707 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 708 709 try { 710 return $self.get_ushort (); 711 } finally { 712 _servant_postinvoke ($so); 713 } 714 } 716 717 725 public int get_long () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 726 { 727 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_long", _opsClass); 728 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 729 730 try { 731 return $self.get_long (); 732 } finally { 733 _servant_postinvoke ($so); 734 } 735 } 737 738 746 public int get_ulong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 747 { 748 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulong", _opsClass); 749 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 750 751 try { 752 return $self.get_ulong (); 753 } finally { 754 _servant_postinvoke ($so); 755 } 756 } 758 759 767 public float get_float () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 768 { 769 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_float", _opsClass); 770 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 771 772 try { 773 return $self.get_float (); 774 } finally { 775 _servant_postinvoke ($so); 776 } 777 } 779 780 788 public double get_double () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 789 { 790 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_double", _opsClass); 791 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 792 793 try { 794 return $self.get_double (); 795 } finally { 796 _servant_postinvoke ($so); 797 } 798 } 800 801 810 public String get_string () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 811 { 812 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_string", _opsClass); 813 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 814 815 try { 816 return $self.get_string (); 817 } finally { 818 _servant_postinvoke ($so); 819 } 820 } 822 823 831 public org.omg.CORBA.Object get_reference () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 832 { 833 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_reference", _opsClass); 834 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 835 836 try { 837 return $self.get_reference (); 838 } finally { 839 _servant_postinvoke ($so); 840 } 841 } 843 844 852 public org.omg.CORBA.TypeCode get_typecode () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 853 { 854 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_typecode", _opsClass); 855 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 856 857 try { 858 return $self.get_typecode (); 859 } finally { 860 _servant_postinvoke ($so); 861 } 862 } 864 865 873 public long get_longlong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 874 { 875 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_longlong", _opsClass); 876 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 877 878 try { 879 return $self.get_longlong (); 880 } finally { 881 _servant_postinvoke ($so); 882 } 883 } 885 886 895 public long get_ulonglong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 896 { 897 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulonglong", _opsClass); 898 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 899 900 try { 901 return $self.get_ulonglong (); 902 } finally { 903 _servant_postinvoke ($so); 904 } 905 } 907 908 916 public char get_wchar () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 917 { 918 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wchar", _opsClass); 919 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 920 921 try { 922 return $self.get_wchar (); 923 } finally { 924 _servant_postinvoke ($so); 925 } 926 } 928 929 937 public String get_wstring () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 938 { 939 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wstring", _opsClass); 940 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 941 942 try { 943 return $self.get_wstring (); 944 } finally { 945 _servant_postinvoke ($so); 946 } 947 } 949 950 958 public org.omg.CORBA.Any get_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 959 { 960 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_any", _opsClass); 961 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 962 963 try { 964 return $self.get_any (); 965 } finally { 966 _servant_postinvoke ($so); 967 } 968 } 970 971 980 public org.omg.DynamicAny.DynAny get_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 981 { 982 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_dyn_any", _opsClass); 983 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 984 985 try { 986 return $self.get_dyn_any (); 987 } finally { 988 _servant_postinvoke ($so); 989 } 990 } 992 993 1002 public java.io.Serializable get_val () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1003 { 1004 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_val", _opsClass); 1005 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 1006 1007 try { 1008 return $self.get_val (); 1009 } finally { 1010 _servant_postinvoke ($so); 1011 } 1012 } 1014 1015 1024 public boolean seek (int index) 1025 { 1026 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("seek", _opsClass); 1027 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 1028 1029 try { 1030 return $self.seek (index); 1031 } finally { 1032 _servant_postinvoke ($so); 1033 } 1034 } 1036 1037 1040 public void rewind () 1041 { 1042 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); 1043 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 1044 1045 try { 1046 $self.rewind (); 1047 } finally { 1048 _servant_postinvoke ($so); 1049 } 1050 } 1052 1053 1059 public boolean next () 1060 { 1061 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("next", _opsClass); 1062 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 1063 1064 try { 1065 return $self.next (); 1066 } finally { 1067 _servant_postinvoke ($so); 1068 } 1069 } 1071 1072 1087 public int component_count () 1088 { 1089 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("component_count", _opsClass); 1090 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 1091 1092 try { 1093 return $self.component_count (); 1094 } finally { 1095 _servant_postinvoke ($so); 1096 } 1097 } 1099 1100 1118 public org.omg.DynamicAny.DynAny current_component () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 1119 { 1120 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_component", _opsClass); 1121 DynArrayOperations $self = (DynArrayOperations ) $so.servant; 1122 1123 try { 1124 return $self.current_component (); 1125 } finally { 1126 _servant_postinvoke ($so); 1127 } 1128 } 1130 private static String [] __ids = { 1132 "IDL:omg.org/DynamicAny/DynArray:1.0", 1133 "IDL:omg.org/DynamicAny/DynAny:1.0"}; 1134 1135 public String [] _ids () 1136 { 1137 return (String [])__ids.clone (); 1138 } 1139 1140 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1141 { 1142 String str = s.readUTF (); 1143 String [] args = null; 1144 java.util.Properties props = null; 1145 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1146 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1147 _set_delegate (delegate); 1148 } 1149 1150 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1151 { 1152 String [] args = null; 1153 java.util.Properties props = null; 1154 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1155 s.writeUTF (str); 1156 } 1157} | Popular Tags |