1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
#ifndef _ttcp_s_hh
#define _ttcp_s_hh
#include <ttcp_c.hh>
#include <corba.h>
/* This file is automatically generated by Orbeline. */
/* Do not modify this file. */
/* Orbeline (c) is copyrighted by PostModern Computing, Inc. */
class ttcp_sequence_impl: public virtual ttcp_sequence
{
protected:
ttcp_sequence_impl(const char *object_name = NULL);
virtual ~ttcp_sequence_impl();
public:
virtual const CORBA::TypeInfo *_type_info() const {
return ttcp_sequence::_type_info();
}
virtual void *_safe_narrow(const CORBA::TypeInfo *inf) const {
return ttcp_sequence::_safe_narrow(inf);
}
virtual const char *_interface_name() const {
return ttcp_sequence::_interface_name();
}
virtual CORBA::Boolean _is_local() const { return 1; }
/* The following operations need to be implemented by the server. */
virtual void send(const ttcp_sequence::my_sequence& ttcp_rec) = 0;
virtual void send_hack(const CORBA::String& ttcp_string) = 0;
virtual void start_timer() = 0;
virtual void stop_timer() = 0;
/* The following operations are implemented automatically. */
static void _send(void *obj, CORBA::MarshalStream &strm,
CORBA::Environment& _env, CORBA::Principal *principal);
static void _send_hack(void *obj, CORBA::MarshalStream &strm,
CORBA::Environment& _env, CORBA::Principal *principal);
static void _start_timer(void *obj, CORBA::MarshalStream &strm,
CORBA::Environment& _env, CORBA::Principal *principal);
static void _stop_timer(void *obj, CORBA::MarshalStream &strm,
CORBA::Environment& _env, CORBA::Principal *principal);
};
class ttcp_string_impl: public virtual ttcp_string
{
protected:
ttcp_string_impl(const char *object_name = NULL);
virtual ~ttcp_string_impl();
public:
virtual const CORBA::TypeInfo *_type_info() const {
return ttcp_string::_type_info();
}
virtual void *_safe_narrow(const CORBA::TypeInfo *inf) const {
return ttcp_string::_safe_narrow(inf);
}
virtual const char *_interface_name() const {
return ttcp_string::_interface_name();
}
virtual CORBA::Boolean _is_local() const { return 1; }
/* The following operations need to be implemented by the server. */
virtual void send(const CORBA::String& ttcp_string) = 0;
virtual void send_hack(const CORBA::String& ttcp_string) = 0;
virtual void start_timer() = 0;
virtual void stop_timer() = 0;
/* The following operations are implemented automatically. */
static void _send(void *obj, CORBA::MarshalStream &strm,
CORBA::Environment& _env, CORBA::Principal *principal);
static void _send_hack(void *obj, CORBA::MarshalStream &strm,
CORBA::Environment& _env, CORBA::Principal *principal);
static void _start_timer(void *obj, CORBA::MarshalStream &strm,
CORBA::Environment& _env, CORBA::Principal *principal);
static void _stop_timer(void *obj, CORBA::MarshalStream &strm,
CORBA::Environment& _env, CORBA::Principal *principal);
};
#endif
|