1 package org.omg.DynamicAny; 2 3 4 10 11 12 15 public class _DynSequenceStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.DynamicAny.DynSequence 16 { 17 final public static java.lang.Class _opsClass = DynSequenceOperations .class; 18 19 20 21 24 public int get_length () 25 { 26 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_length", _opsClass); 27 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 28 29 try { 30 return $self.get_length (); 31 } finally { 32 _servant_postinvoke ($so); 33 } 34 } 36 37 58 public void set_length (int len) throws org.omg.DynamicAny.DynAnyPackage.InvalidValue 59 { 60 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_length", _opsClass); 61 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 62 63 try { 64 $self.set_length (len); 65 } finally { 66 _servant_postinvoke ($so); 67 } 68 } 70 71 74 public org.omg.CORBA.Any [] get_elements () 75 { 76 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_elements", _opsClass); 77 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 78 79 try { 80 return $self.get_elements (); 81 } finally { 82 _servant_postinvoke ($so); 83 } 84 } 86 87 96 public void set_elements (org.omg.CORBA.Any [] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 97 { 98 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_elements", _opsClass); 99 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 100 101 try { 102 $self.set_elements (value); 103 } finally { 104 _servant_postinvoke ($so); 105 } 106 } 108 109 112 public org.omg.DynamicAny.DynAny [] get_elements_as_dyn_any () 113 { 114 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_elements_as_dyn_any", _opsClass); 115 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 116 117 try { 118 return $self.get_elements_as_dyn_any (); 119 } finally { 120 _servant_postinvoke ($so); 121 } 122 } 124 125 134 public void set_elements_as_dyn_any (org.omg.DynamicAny.DynAny [] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 135 { 136 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_elements_as_dyn_any", _opsClass); 137 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 138 139 try { 140 $self.set_elements_as_dyn_any (value); 141 } finally { 142 _servant_postinvoke ($so); 143 } 144 } 146 147 156 public org.omg.CORBA.TypeCode type () 157 { 158 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("type", _opsClass); 159 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 160 161 try { 162 return $self.type (); 163 } finally { 164 _servant_postinvoke ($so); 165 } 166 } 168 169 178 public void assign (org.omg.DynamicAny.DynAny dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 179 { 180 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("assign", _opsClass); 181 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 182 183 try { 184 $self.assign (dyn_any); 185 } finally { 186 _servant_postinvoke ($so); 187 } 188 } 190 191 199 public void from_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 200 { 201 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("from_any", _opsClass); 202 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 203 204 try { 205 $self.from_any (value); 206 } finally { 207 _servant_postinvoke ($so); 208 } 209 } 211 212 219 public org.omg.CORBA.Any to_any () 220 { 221 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("to_any", _opsClass); 222 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 223 224 try { 225 return $self.to_any (); 226 } finally { 227 _servant_postinvoke ($so); 228 } 229 } 231 232 240 public boolean equal (org.omg.DynamicAny.DynAny dyn_any) 241 { 242 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("equal", _opsClass); 243 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 244 245 try { 246 return $self.equal (dyn_any); 247 } finally { 248 _servant_postinvoke ($so); 249 } 250 } 252 253 267 public void destroy () 268 { 269 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("destroy", _opsClass); 270 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 271 272 try { 273 $self.destroy (); 274 } finally { 275 _servant_postinvoke ($so); 276 } 277 } 279 280 287 public org.omg.DynamicAny.DynAny copy () 288 { 289 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("copy", _opsClass); 290 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 291 292 try { 293 return $self.copy (); 294 } finally { 295 _servant_postinvoke ($so); 296 } 297 } 299 300 306 public void insert_boolean (boolean value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 307 { 308 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_boolean", _opsClass); 309 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 310 311 try { 312 $self.insert_boolean (value); 313 } finally { 314 _servant_postinvoke ($so); 315 } 316 } 318 319 325 public void insert_octet (byte value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 326 { 327 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_octet", _opsClass); 328 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 329 330 try { 331 $self.insert_octet (value); 332 } finally { 333 _servant_postinvoke ($so); 334 } 335 } 337 338 344 public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 345 { 346 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_char", _opsClass); 347 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 348 349 try { 350 $self.insert_char (value); 351 } finally { 352 _servant_postinvoke ($so); 353 } 354 } 356 357 363 public void insert_short (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 364 { 365 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_short", _opsClass); 366 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 367 368 try { 369 $self.insert_short (value); 370 } finally { 371 _servant_postinvoke ($so); 372 } 373 } 375 376 382 public void insert_ushort (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 383 { 384 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ushort", _opsClass); 385 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 386 387 try { 388 $self.insert_ushort (value); 389 } finally { 390 _servant_postinvoke ($so); 391 } 392 } 394 395 401 public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 402 { 403 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_long", _opsClass); 404 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 405 406 try { 407 $self.insert_long (value); 408 } finally { 409 _servant_postinvoke ($so); 410 } 411 } 413 414 420 public void insert_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 421 { 422 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulong", _opsClass); 423 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 424 425 try { 426 $self.insert_ulong (value); 427 } finally { 428 _servant_postinvoke ($so); 429 } 430 } 432 433 439 public void insert_float (float value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 440 { 441 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_float", _opsClass); 442 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 443 444 try { 445 $self.insert_float (value); 446 } finally { 447 _servant_postinvoke ($so); 448 } 449 } 451 452 458 public void insert_double (double value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 459 { 460 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_double", _opsClass); 461 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 462 463 try { 464 $self.insert_double (value); 465 } finally { 466 _servant_postinvoke ($so); 467 } 468 } 470 471 479 public void insert_string (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 480 { 481 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_string", _opsClass); 482 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 483 484 try { 485 $self.insert_string (value); 486 } finally { 487 _servant_postinvoke ($so); 488 } 489 } 491 492 498 public void insert_reference (org.omg.CORBA.Object value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 499 { 500 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_reference", _opsClass); 501 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 502 503 try { 504 $self.insert_reference (value); 505 } finally { 506 _servant_postinvoke ($so); 507 } 508 } 510 511 517 public void insert_typecode (org.omg.CORBA.TypeCode value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 518 { 519 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_typecode", _opsClass); 520 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 521 522 try { 523 $self.insert_typecode (value); 524 } finally { 525 _servant_postinvoke ($so); 526 } 527 } 529 530 536 public void insert_longlong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 537 { 538 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_longlong", _opsClass); 539 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 540 541 try { 542 $self.insert_longlong (value); 543 } finally { 544 _servant_postinvoke ($so); 545 } 546 } 548 549 556 public void insert_ulonglong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 557 { 558 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulonglong", _opsClass); 559 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 560 561 try { 562 $self.insert_ulonglong (value); 563 } finally { 564 _servant_postinvoke ($so); 565 } 566 } 568 569 575 public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 576 { 577 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wchar", _opsClass); 578 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 579 580 try { 581 $self.insert_wchar (value); 582 } finally { 583 _servant_postinvoke ($so); 584 } 585 } 587 588 595 public void insert_wstring (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 596 { 597 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wstring", _opsClass); 598 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 599 600 try { 601 $self.insert_wstring (value); 602 } finally { 603 _servant_postinvoke ($so); 604 } 605 } 607 608 614 public void insert_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 615 { 616 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_any", _opsClass); 617 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 618 619 try { 620 $self.insert_any (value); 621 } finally { 622 _servant_postinvoke ($so); 623 } 624 } 626 627 633 public void insert_dyn_any (org.omg.DynamicAny.DynAny value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 634 { 635 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_dyn_any", _opsClass); 636 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 637 638 try { 639 $self.insert_dyn_any (value); 640 } finally { 641 _servant_postinvoke ($so); 642 } 643 } 645 646 653 public void insert_val (java.io.Serializable value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 654 { 655 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_val", _opsClass); 656 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 657 658 try { 659 $self.insert_val (value); 660 } finally { 661 _servant_postinvoke ($so); 662 } 663 } 665 666 674 public boolean get_boolean () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 675 { 676 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_boolean", _opsClass); 677 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 678 679 try { 680 return $self.get_boolean (); 681 } finally { 682 _servant_postinvoke ($so); 683 } 684 } 686 687 695 public byte get_octet () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 696 { 697 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_octet", _opsClass); 698 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 699 700 try { 701 return $self.get_octet (); 702 } finally { 703 _servant_postinvoke ($so); 704 } 705 } 707 708 716 public char get_char () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 717 { 718 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_char", _opsClass); 719 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 720 721 try { 722 return $self.get_char (); 723 } finally { 724 _servant_postinvoke ($so); 725 } 726 } 728 729 737 public short get_short () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 738 { 739 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_short", _opsClass); 740 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 741 742 try { 743 return $self.get_short (); 744 } finally { 745 _servant_postinvoke ($so); 746 } 747 } 749 750 758 public short get_ushort () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 759 { 760 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ushort", _opsClass); 761 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 762 763 try { 764 return $self.get_ushort (); 765 } finally { 766 _servant_postinvoke ($so); 767 } 768 } 770 771 779 public int get_long () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 780 { 781 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_long", _opsClass); 782 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 783 784 try { 785 return $self.get_long (); 786 } finally { 787 _servant_postinvoke ($so); 788 } 789 } 791 792 800 public int get_ulong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 801 { 802 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulong", _opsClass); 803 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 804 805 try { 806 return $self.get_ulong (); 807 } finally { 808 _servant_postinvoke ($so); 809 } 810 } 812 813 821 public float get_float () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 822 { 823 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_float", _opsClass); 824 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 825 826 try { 827 return $self.get_float (); 828 } finally { 829 _servant_postinvoke ($so); 830 } 831 } 833 834 842 public double get_double () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 843 { 844 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_double", _opsClass); 845 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 846 847 try { 848 return $self.get_double (); 849 } finally { 850 _servant_postinvoke ($so); 851 } 852 } 854 855 864 public String get_string () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 865 { 866 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_string", _opsClass); 867 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 868 869 try { 870 return $self.get_string (); 871 } finally { 872 _servant_postinvoke ($so); 873 } 874 } 876 877 885 public org.omg.CORBA.Object get_reference () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 886 { 887 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_reference", _opsClass); 888 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 889 890 try { 891 return $self.get_reference (); 892 } finally { 893 _servant_postinvoke ($so); 894 } 895 } 897 898 906 public org.omg.CORBA.TypeCode get_typecode () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 907 { 908 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_typecode", _opsClass); 909 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 910 911 try { 912 return $self.get_typecode (); 913 } finally { 914 _servant_postinvoke ($so); 915 } 916 } 918 919 927 public long get_longlong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 928 { 929 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_longlong", _opsClass); 930 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 931 932 try { 933 return $self.get_longlong (); 934 } finally { 935 _servant_postinvoke ($so); 936 } 937 } 939 940 949 public long get_ulonglong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 950 { 951 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulonglong", _opsClass); 952 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 953 954 try { 955 return $self.get_ulonglong (); 956 } finally { 957 _servant_postinvoke ($so); 958 } 959 } 961 962 970 public char get_wchar () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 971 { 972 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wchar", _opsClass); 973 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 974 975 try { 976 return $self.get_wchar (); 977 } finally { 978 _servant_postinvoke ($so); 979 } 980 } 982 983 991 public String get_wstring () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 992 { 993 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wstring", _opsClass); 994 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 995 996 try { 997 return $self.get_wstring (); 998 } finally { 999 _servant_postinvoke ($so); 1000 } 1001 } 1003 1004 1012 public org.omg.CORBA.Any get_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1013 { 1014 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_any", _opsClass); 1015 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 1016 1017 try { 1018 return $self.get_any (); 1019 } finally { 1020 _servant_postinvoke ($so); 1021 } 1022 } 1024 1025 1034 public org.omg.DynamicAny.DynAny get_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1035 { 1036 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_dyn_any", _opsClass); 1037 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 1038 1039 try { 1040 return $self.get_dyn_any (); 1041 } finally { 1042 _servant_postinvoke ($so); 1043 } 1044 } 1046 1047 1056 public java.io.Serializable get_val () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1057 { 1058 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_val", _opsClass); 1059 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 1060 1061 try { 1062 return $self.get_val (); 1063 } finally { 1064 _servant_postinvoke ($so); 1065 } 1066 } 1068 1069 1078 public boolean seek (int index) 1079 { 1080 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("seek", _opsClass); 1081 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 1082 1083 try { 1084 return $self.seek (index); 1085 } finally { 1086 _servant_postinvoke ($so); 1087 } 1088 } 1090 1091 1094 public void rewind () 1095 { 1096 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); 1097 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 1098 1099 try { 1100 $self.rewind (); 1101 } finally { 1102 _servant_postinvoke ($so); 1103 } 1104 } 1106 1107 1113 public boolean next () 1114 { 1115 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("next", _opsClass); 1116 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 1117 1118 try { 1119 return $self.next (); 1120 } finally { 1121 _servant_postinvoke ($so); 1122 } 1123 } 1125 1126 1141 public int component_count () 1142 { 1143 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("component_count", _opsClass); 1144 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 1145 1146 try { 1147 return $self.component_count (); 1148 } finally { 1149 _servant_postinvoke ($so); 1150 } 1151 } 1153 1154 1172 public org.omg.DynamicAny.DynAny current_component () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 1173 { 1174 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_component", _opsClass); 1175 DynSequenceOperations $self = (DynSequenceOperations ) $so.servant; 1176 1177 try { 1178 return $self.current_component (); 1179 } finally { 1180 _servant_postinvoke ($so); 1181 } 1182 } 1184 private static String [] __ids = { 1186 "IDL:omg.org/DynamicAny/DynSequence:1.0", 1187 "IDL:omg.org/DynamicAny/DynAny:1.0"}; 1188 1189 public String [] _ids () 1190 { 1191 return (String [])__ids.clone (); 1192 } 1193 1194 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1195 { 1196 String str = s.readUTF (); 1197 String [] args = null; 1198 java.util.Properties props = null; 1199 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1200 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1201 _set_delegate (delegate); 1202 } 1203 1204 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1205 { 1206 String [] args = null; 1207 java.util.Properties props = null; 1208 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1209 s.writeUTF (str); 1210 } 1211} | Popular Tags |