blob: 5f2f97074723a3d3dc4cfa60dc98d082088a2f8b (
plain)
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
|
// $Id$
// ============================================================================
//
// = TAO tests
// Throughput measurement using the TTCP benchmark adapted to work using TAO
//
// = FILENAME
// ttcp_i.h
//
// = AUTHOR
// Aniruddha Gokhale
//
// ============================================================================
#ifndef TTCP_I_H
#define TTCP_I_H
#include "ttcpS.h"
class ttcp_sequence_i: public POA_ttcp_sequence
{
public:
ttcp_sequence_i();
virtual void sendShortSeq (const ttcp_sequence::ShortSeq& ttcp_seq,
CORBA::Environment &IT_env)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void sendLongSeq (const ttcp_sequence::LongSeq& ttcp_seq,
CORBA::Environment &IT_env)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void sendDoubleSeq (const ttcp_sequence::DoubleSeq& ttcp_seq,
CORBA::Environment &IT_env)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void sendCharSeq (const ttcp_sequence::CharSeq& ttcp_seq,
CORBA::Environment &IT_env)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void sendStructSeq (const ttcp_sequence::StructSeq& ttcp_seq,
CORBA::Environment &IT_env)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void sendOctetSeq (const ttcp_sequence::OctetSeq& ttcp_seq,
CORBA::Environment &IT_env)
ACE_THROW_SPEC ((CORBA::SystemException));
// = Routines to calculate the time required to transfer.
virtual void start_timer (CORBA::Environment &IT_env)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void stop_timer (CORBA::Environment &IT_env)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
u_long nbytes_;
};
#endif /* TTCP_I_H */
|