IDLGIOPVersion

Inherits From:
NSObject

Declared In:
ADORB/IDLGIOPVersion.h

Class Methods

+ defaultIIOPVersion

Returns the default GIOP version as an autoreleased instance of IDLGIOPVersion class. When a local CORBAObject is created it sets the default GIOP version as the GIOP version in its profile.
The default GIOP version is 1.1 unless changed.
See also Runtime parameters.

+ (void) setDefaultIIOPVersion:(unsigned)major:(unsigned)minor

Sets the default IIOP version.
See also Runtime parameters.

+ (void) setMaxMinorVersion:(unsigned)minor

Sets the maximum minor GIOP version to use in the messages.
See also Runtime parameters.

Instance Methods

- initVersion:(unsigned)major : (unsigned)minor

Returns IDLGIOPVersion initialized with major and minor. If minor is greater than giop_max_minor it is set to giop_max_minor.

- init

Calls initVersion:: with the default major and minor values.

- (unsigned) majorVersion

Returns major version.

- (unsigned) minorVersion

Returns minor version.