#include <Codeset_Manager.h>
Collaboration diagram for TAO_Codeset_Manager:
The Codeset Manager is owned by the ORB_Core, initialized through Resource Factory configuration options. The codeset manager participates in profile creation by servers and connection establishment by clients. The involvement is necessary to supply a codeset component to the profile including for both chars and wide chars the native code set and any conversion code sets for which translators are available. The codeset manager is also responsible for determining the transmission codesets based an the local and remote codeset information. The transmission codesets are communicated via a service context attached to the first request sent on the new connection.
|
|
|
|
|
|
|
|
|
Called by the resource factory to add a potential codeset translator for char data. The actual factory will be added to the list later, if its ncs matches that of the codeset manager. |
|
Called by the resource factory to add a potential codeset translator for wchar data. The actual factory will be added to the list later, if its ncs matches that of the codeset manager. |
|
returns the TCS for Char / Wchar
|
|
Called by the resource factory to signify the end of initialization. This will traverse the list of named codeset translator factories and add any of those that have a native codeset id matching the manager's native codeset id. |
|
Called by a client object to generate service context at this time Transport has the TCS for Char and WChar |
|
|
|
|
|
|
|
Initialise the specific type codeset factories.
|
|
Find the Intersection of Client and Server CCS's.
|
|
|
|
Checks whether the NCS is a part of CCS.
|
|
Called from an Object of TAO_Messaging for every request at server side to process service context and set TCS for Char/WChar |
|
Called by an object of TAO_Acceptor to set NCS and CCS values for Char/Wchar in to the Object Reference. |
|
Called by the resource factory to set the native char codeset id.
|
|
Called by the resource factory to set the native wchar codeset id. The maxbytes value is used to communicate the width of untranslated wide characters on the stream. This size may be smaller than the size of a wchar_t. |
|
Called from an object of "TAO_GIOP_Invocation" to set TCS on the Transport |
|
|
|
|
|
NCS for char is defaulted to ISO 8859-1:1987; Latin Alphabet No. 1.
|
|
NCS for wchar is defaulted to 0 (not used), but people wishing to provide a non-compliant default wchar codeset may do so. |
|
|