blob: 60d7e2610eba1587fad3c96e51b8a6e8b58baa86 (
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
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
90
91
92
93
94
95
96
97
98
|
#ifndef CATIOR_I_H
#define CATIOR_I_H
//=============================================================================
/**
* @file Catior_i.h
*
* Reads stringified IORs and outputs the encoded information.
*
* @author Jeff Hopper <jrhopper@cts.com> SCIOP and Tagged component modifications by: Jason Cohen
* @author Lockheed Martin ATL <jcohen@atl.lmco.com> Split into a separate library by: Chad Elliott <elliott_c@ociweb.com>
*/
//=============================================================================
#include "catior_export.h"
#include "ace/String_Base.h"
#include "ace/SStringfwd.h"
#include "tao/Basic_Types.h"
#include "tao/CDR.h"
class catior_Export Catior_i
{
public:
/// Default constructor to initialize all data members.
Catior_i();
/// Decode the input IOR string into a human readable format stored in
/// the supplied output string reference. A return value of true
/// indicates that there were no problems decoding the IOR.
CORBA::Boolean decode (const ACE_CString& input, ACE_CString& output);
private:
// These methods used to be functions in catior.cpp
CORBA::Boolean catiiop (char* string);
CORBA::Boolean catior (char const* str);
CORBA::Boolean catpoop (char* string);
CORBA::Boolean cat_tag_orb_type (TAO_InputCDR& stream);
CORBA::Boolean cat_ibm_partner_version (TAO_InputCDR& stream);
CORBA::Boolean cat_tao_tag_endpoints (TAO_InputCDR& stream);
CORBA::Boolean cat_tag_alternate_endpoints (TAO_InputCDR& stream);
CORBA::Boolean cat_tag_policies (TAO_InputCDR& stream);
CORBA::Boolean cat_security_association (const CORBA::UShort& a);
CORBA::Boolean cat_tag_ssl_sec_trans (TAO_InputCDR& cdr);
CORBA::Boolean cat_octet_seq (const char* object_name,
TAO_InputCDR& stream);
CORBA::Boolean cat_object_key (TAO_InputCDR& stream);
ACE_CString _find_info (CORBA::ULong id);
void displayHex (TAO_InputCDR & str);
CORBA::Boolean cat_codeset_info (TAO_InputCDR& cdr);
CORBA::Boolean cat_tagged_components (TAO_InputCDR& stream);
CORBA::Boolean cat_multiple_components (TAO_InputCDR& stream);
CORBA::Boolean cat_profile_helper (TAO_InputCDR& stream,
const char* protocol);
CORBA::Boolean cat_coiop_profile (TAO_InputCDR& stream);
CORBA::Boolean cat_iiop_profile (TAO_InputCDR& stream);
CORBA::Boolean cat_shmiop_profile (TAO_InputCDR& stream);
CORBA::Boolean cat_uiop_profile (TAO_InputCDR& stream);
CORBA::Boolean cat_sciop_profile (TAO_InputCDR& stream);
CORBA::Boolean cat_nsk_profile_helper (TAO_InputCDR& stream,
const char* protocol);
CORBA::Boolean cat_nskpw_profile (TAO_InputCDR& stream);
CORBA::Boolean cat_nskfs_profile (TAO_InputCDR& stream);
void indent (void);
size_t trace_depth_;
ACE_CString buffer_;
};
#endif // CATIOR_I_H
|