OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [CORBA/] [GIOP/] [MessageHeader.h] - Blame information for rev 790

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_CORBA_GIOP_MessageHeader__
5
#define __gnu_CORBA_GIOP_MessageHeader__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace CORBA
17
    {
18
      namespace GIOP
19
      {
20
          class CancelHeader;
21
          class ErrorMessage;
22
          class MessageHeader;
23
          class ReplyHeader;
24
          class RequestHeader;
25
      }
26
        class Version;
27
    }
28
  }
29
  namespace java
30
  {
31
    namespace net
32
    {
33
        class Socket;
34
    }
35
  }
36
}
37
 
38
class gnu::CORBA::GIOP::MessageHeader : public ::java::lang::Object
39
{
40
 
41
public:
42
  MessageHeader();
43
  MessageHeader(jint, jint);
44
  virtual jboolean isBigEndian();
45
  virtual jboolean moreFragmentsFollow();
46
  virtual void setBigEndian(jboolean);
47
  virtual jint getHeaderSize();
48
  virtual ::java::lang::String * getTypeString(jint);
49
  virtual ::gnu::CORBA::GIOP::ReplyHeader * create_reply_header();
50
  virtual ::gnu::CORBA::GIOP::RequestHeader * create_request_header();
51
  virtual ::gnu::CORBA::GIOP::CancelHeader * create_cancel_header();
52
  virtual ::gnu::CORBA::GIOP::ErrorMessage * create_error_message();
53
  virtual void read(::java::io::InputStream *);
54
  virtual ::java::lang::String * toString();
55
  virtual void write(::java::io::OutputStream *);
56
  virtual JArray< jbyte > * readMessage(::java::io::InputStream *, ::java::net::Socket *, jint, jint);
57
private:
58
  static const jlong serialVersionUID = 1LL;
59
public:
60
  static const jbyte REQUEST = 0;
61
  static const jbyte REPLY = 1;
62
  static const jbyte CANCEL_REQUEST = 2;
63
  static const jbyte LOCATE_REQUEST = 3;
64
  static const jbyte LOCATE_REPLY = 4;
65
  static const jbyte CLOSE_CONNECTION = 5;
66
  static const jbyte MESSAGE_ERROR = 6;
67
  static const jbyte FRAGMENT = 7;
68
  static JArray< jbyte > * MAGIC;
69
public: // actually protected
70
  static JArray< ::java::lang::String * > * types;
71
public:
72
  ::gnu::CORBA::Version * __attribute__((aligned(__alignof__( ::java::lang::Object)))) version;
73
  jbyte flags;
74
  jbyte message_type;
75
  jint message_size;
76
  static ::java::lang::Class class$;
77
};
78
 
79
#endif // __gnu_CORBA_GIOP_MessageHeader__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.