001: /***** Copyright (c) 1999-2000 Object Management Group. Unlimited rights to
002: duplicate and use this code are hereby granted provided that this
003: copyright notice is included.
004: *****/package org.omg.CORBA;
005:
006: public abstract class Any implements org.omg.CORBA.portable.IDLEntity {
007:
008: abstract public boolean equal(org.omg.CORBA.Any a);
009:
010: abstract public org.omg.CORBA.TypeCode type();
011:
012: abstract public void type(org.omg.CORBA.TypeCode type);
013:
014: abstract public void read_value(
015: org.omg.CORBA.portable.InputStream is,
016: org.omg.CORBA.TypeCode type);
017:
018: abstract public void write_value(
019: org.omg.CORBA.portable.OutputStream os);
020:
021: abstract public org.omg.CORBA.portable.OutputStream create_output_stream();
022:
023: abstract public org.omg.CORBA.portable.InputStream create_input_stream();
024:
025: abstract public short extract_short();
026:
027: abstract public void insert_short(short s);
028:
029: abstract public int extract_long();
030:
031: abstract public void insert_long(int i);
032:
033: abstract public long extract_longlong();
034:
035: abstract public void insert_longlong(long l);
036:
037: abstract public short extract_ushort();
038:
039: abstract public void insert_ushort(short s);
040:
041: abstract public int extract_ulong();
042:
043: abstract public void insert_ulong(int i);
044:
045: abstract public long extract_ulonglong();
046:
047: abstract public void insert_ulonglong(long l);
048:
049: abstract public float extract_float();
050:
051: abstract public void insert_float(float f);
052:
053: abstract public double extract_double();
054:
055: abstract public void insert_double(double d);
056:
057: abstract public boolean extract_boolean();
058:
059: abstract public void insert_boolean(boolean b);
060:
061: abstract public char extract_char();
062:
063: abstract public void insert_char(char c);
064:
065: abstract public char extract_wchar();
066:
067: abstract public void insert_wchar(char c);
068:
069: abstract public byte extract_octet();
070:
071: abstract public void insert_octet(byte b);
072:
073: abstract public org.omg.CORBA.Any extract_any();
074:
075: abstract public void insert_any(org.omg.CORBA.Any a);
076:
077: abstract public org.omg.CORBA.Object extract_Object();
078:
079: abstract public void insert_Object(org.omg.CORBA.Object obj);
080:
081: abstract public java.io.Serializable extract_Value();
082:
083: abstract public void insert_Value(java.io.Serializable v);
084:
085: abstract public void insert_Value(java.io.Serializable v,
086: org.omg.CORBA.TypeCode t);
087:
088: abstract public void insert_Object(org.omg.CORBA.Object obj,
089: org.omg.CORBA.TypeCode type);
090:
091: abstract public String extract_string();
092:
093: abstract public void insert_string(String s);
094:
095: abstract public String extract_wstring();
096:
097: abstract public void insert_wstring(String value);
098:
099: abstract public TypeCode extract_TypeCode();
100:
101: abstract public void insert_TypeCode(TypeCode value);
102:
103: /**
104: *@deprecated
105: */
106: public Principal extract_Principal() {
107: throw new org.omg.CORBA.NO_IMPLEMENT();
108: }
109:
110: /**
111: *@deprecated
112: */
113: public void insert_Principal(Principal p) {
114: throw new org.omg.CORBA.NO_IMPLEMENT();
115: }
116:
117: public org.omg.CORBA.portable.Streamable extract_Streamable() {
118: throw new org.omg.CORBA.NO_IMPLEMENT();
119: }
120:
121: public void insert_Streamable(org.omg.CORBA.portable.Streamable s) {
122: throw new org.omg.CORBA.NO_IMPLEMENT();
123: }
124:
125: public java.math.BigDecimal extract_fixed() {
126: throw new org.omg.CORBA.NO_IMPLEMENT();
127: }
128:
129: public void insert_fixed(java.math.BigDecimal f,
130: org.omg.CORBA.TypeCode t) {
131: throw new org.omg.CORBA.NO_IMPLEMENT();
132: }
133:
134: }
|