public Any(object obj) { SetTypeCode( OrbServices.GetSingleton().create_tc_for(obj)); // because serialization is done based on the typecode type, make sure // that the value is assignable to the typecode. // For cases, where the .NET type can't be mapped directly to idl (like SByte), // this would otherwise lead to problems in Serializer. m_value = m_typeCode.ConvertToAssignable(obj); }
internal InterceptorManager(OrbServices orb) { m_interceptionRegistrationComplete = false; m_orb = orb; }
internal ORBInitInfoImpl(OrbServices orb) { m_orb = orb; m_manager = orb.InterceptorManager; m_codecFactory = orb.CodecFactory; }
public ServerRequestInterceptor GetServerRequestInterceptor(OrbServices orb) { lock(this) { if (m_serverInterceptor == null) { m_serverInterceptor = new BiDirIiopServerInterceptor(orb); } return m_serverInterceptor; } }
public ClientRequestInterceptor GetClientRequestInterceptor(OrbServices orb) { lock(this) { if (m_clientInterceptor == null) { m_clientInterceptor = new BiDirIiopClientInterceptor(orb); } return m_clientInterceptor; } }
public BiDirIiopServerInterceptor(OrbServices orb) { m_codec = orb.CodecFactory.create_codec( new Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2)); m_svcContextTypeCode = orb.create_tc_for_type(typeof(BiDirIIOPServiceContext)); }
public BiDirIiopClientInterceptor(OrbServices orb) { m_codec = orb.CodecFactory.create_codec( new Encoding(ENCODING_CDR_ENCAPS.ConstVal, 1, 2)); }