private void initStubs(BTransport transport) { bioFruitServiceVal = new byps.test.api.inherit.BStub_BioFruitService(transport); bioLemonServiceVal = new byps.test.api.inherit.BStub_BioLemonService(transport); fruitServiceVal = new byps.test.api.inherit.BStub_FruitService(transport); lemonServiceVal = new byps.test.api.inherit.BStub_LemonService(transport); plantServiceVal = new byps.test.api.inherit.BStub_PlantService(transport); remoteArrayTypes1dimVal = new byps.test.api.remote.BStub_RemoteArrayTypes1dim(transport); remoteArrayTypes23Val = new byps.test.api.remote.BStub_RemoteArrayTypes23(transport); remoteArrayTypes4dimVal = new byps.test.api.remote.BStub_RemoteArrayTypes4dim(transport); remoteConstantsVal = new byps.test.api.remote.BStub_RemoteConstants(transport); remoteEnumsVal = new byps.test.api.remote.BStub_RemoteEnums(transport); remoteInlineInstanceVal = new byps.test.api.remote.BStub_RemoteInlineInstance(transport); remoteListTypesVal = new byps.test.api.remote.BStub_RemoteListTypes(transport); remoteMapTypesVal = new byps.test.api.remote.BStub_RemoteMapTypes(transport); remotePrimitiveTypesVal = new byps.test.api.remote.BStub_RemotePrimitiveTypes(transport); remoteProcessingExVal = new byps.test.api.remote.BStub_RemoteProcessingEx(transport); remoteReferencesVal = new byps.test.api.remote.BStub_RemoteReferences(transport); remoteServerCtrlVal = new byps.test.api.remote.BStub_RemoteServerCtrl(transport); remoteSetTypesVal = new byps.test.api.remote.BStub_RemoteSetTypes(transport); remoteStreamsVal = new byps.test.api.remote.BStub_RemoteStreams(transport); remoteWithAuthenticationVal = new byps.test.api.remote.BStub_RemoteWithAuthentication(transport); clientIFVal = new byps.test.api.srvr.BStub_ClientIF(transport); serverIFVal = new byps.test.api.srvr.BStub_ServerIF(transport); evolveIFVal = new byps.test.api.ver.BStub_EvolveIF(transport); }
public BInput(BTransport transport, BMessageHeader responseHeader, BRegistry registry) { this.header = responseHeader; this.transport = transport; this.registry = registry; this.idMap = transport.getApiDesc().uniqueObjects ? null : new Dictionary<int, Object>(); }
public BOutput(BTransport transport, BRegistry registry, BMessageHeader requestHeader) { this.objMap = transport.getApiDesc().uniqueObjects ? null : new BObjMap(); this.header = requestHeader; this.header.targetId = transport.getTargetId(); this.header.sessionId = transport.getSessionId(); this.transport = transport; this.registry = registry; this.streams = null; }
public BOutput(BTransport transport, BRegistry registry, int streamHeaderMagic, int negotiatedBypsVersion, long negotiatedVersion, ByteOrder negotiatedByteOrder) { this.objMap = transport.getApiDesc().uniqueObjects ? null : new BObjMap(); this.header = new BMessageHeader(streamHeaderMagic, negotiatedBypsVersion, negotiatedVersion, negotiatedByteOrder, transport.getWire().makeMessageId()); this.header.targetId = transport.getTargetId(); this.header.sessionId = transport.getSessionId(); this.transport = transport; this.registry = registry; this.streams = null; }
private void initStubs(BTransport transport) { iXEventBusHandlerVal = new BStub_IXEventBusHandler(transport); iXServerEventsVal = new BStub_IXServerEvents(transport); iXServicePortIFVal = new BStub_IXServicePortIF(transport); rawStreamServiceVal = new EloixClient.IndexServer.compatibility.BStub_RawStreamService(transport); wClientServiceVal = new EloixClient.IndexServer.compatibility.BStub_WClientService(transport); feedNotificationVal = new EloixClient.IndexServer.feed.BStub_FeedNotification(transport); feedServiceVal = new EloixClient.IndexServer.feed.BStub_FeedService(transport); healthCheckServiceVal = new EloixClient.IndexServer.health.BStub_HealthCheckService(transport); myELOServiceVal = new EloixClient.IndexServer.myelo.BStub_MyELOService(transport); clientNotificationVal = new EloixClient.IndexServer.notify.BStub_ClientNotification(transport); systemInformationVal = new EloixClient.Indexserver.system.BStub_SystemInformation(transport); }
public override Object read(Object obj, BInput bin1, long version) { BInputBin bin = ((BInputBin)bin1); BRemote remote = null; BTargetId targetId = BTargetId.read(bin.bbuf.getBuffer(), bin1.header.bversion); BRemoteRegistry rreg = bin.transport.getRemoteRegistry(); if (rreg != null) { remote = rreg.getRemote(bin.header.targetId, targetId, typeId); } else { BTransport transport = new BTransport(bin.transport, targetId); remote = internalCreate(transport); } return remote; }
/// <summary> /// Constructor. /// </summary> /// <param name="transport">BYPS Transport</param> /// <param name="connProps">Connection properties</param> public IXCachedConnIXServicePortIF(BTransport transport, IXProperties connProps) : base(transport) { int cacheLifetimeSecondsLong = connProps.Get(IXConnFactory.PROP_CACHE_MASTERDATA_LIFETIME_SECONDS, 10 * 60); int cacheLifetimeSecondsShort = connProps.Get(IXConnFactory.PROP_CACHE_CONTENT_LIFETIME_SECONDS, 0); sordCache = new SordCache(this, cacheLifetimeSecondsShort); docMaskCache = new DocMaskCache(this, cacheLifetimeSecondsLong); colorCache = new ColorDataCache(this, cacheLifetimeSecondsLong); keywordCache = new KeywordCache(this, cacheLifetimeSecondsLong); sordTypeCache = new SordTypeCache(this, cacheLifetimeSecondsLong); colorCache = new ColorDataCache(this, cacheLifetimeSecondsLong); counterCache = new CounterInfoCache(this, cacheLifetimeSecondsLong); userNameCache = new UserNameCache(this, cacheLifetimeSecondsLong); }
public static BTransport createTransport() { BRegistry registryBin = new BRegistry_Testser(); BWire wire = new MyWire(); BApiDescriptor apiDesc = new BApiDescriptor("TestSerialize", "com.wilutions.byps.test.api", 0, false); BProtocol proto = new BProtocolS(apiDesc, 1, 0, ByteOrder.LITTLE_ENDIAN); BTransport transport = new BTransport(apiDesc, wire, null); transport.setProtocol(proto); return(transport); }
public static BTransport createTransport() { BRegistry registryBin = new BRegistry_Testser(); BWire wire = new MyWire(); BApiDescriptor apiDesc = new BApiDescriptor("TestSerialize", "com.wilutions.byps.test.api", 0, false); BProtocol proto = new BProtocolS(apiDesc, 1, 0, ByteOrder.LITTLE_ENDIAN); BTransport transport = new BTransport(apiDesc, wire, null); transport.setProtocol(proto); return transport; }
public static BServer_JSFS createServerR(BTransport transport) { return new BServer_JSFS(transport); }
protected override BRemote internalCreate(BTransport transport) { return(new BStub_BioFruitService(transport)); }
public BStub_BioLemonService(BTransport transport) : base(transport) {}
public BStub_DispatcherService(BTransport transport) : base(transport) {}
public BStub_RemoteSetTypes(BTransport transport) : base(transport) {}
public BStub_ClientIF(BTransport transport) : base(transport) { }
protected override BRemote internalCreate(BTransport transport) { return(new BStub_ServerIF(transport)); }
public BStub_FileSystemNotify(BTransport transport) : base(transport) { }
public BServer_JSFS(BTransport transport) : base(transport, null) { }
public static BServer_JSFS createServerR(BTransport transport) { return(new BServer_JSFS(transport)); }
protected BClient_JSFS(BTransport transport) : base(transport, null) { initStubs(transportVal); }
protected override BRemote internalCreate(BTransport transport) { return(new BStub_BUtilityRequests(transport)); }
protected override BRemote internalCreate(BTransport transport) { return new BStub_RemotePrimitiveTypes(transport); }
public BStub_LemonService(BTransport transport) : base(transport) { }
public BStub_FruitService(BTransport transport) : base(transport) { }
public BStub_RemoteArrayTypes1dim(BTransport transport) : base(transport) { }
public static BClient_Indexserver createClientR(BTransport transport) { return(new BClient_Indexserver(transport)); }
public BStub(BTransport transport) { this.transport = transport; }
protected BClient_Indexserver(BTransport transport) : base(transport, null) { initStubs(transportVal); }
public static BClient_JSFS createClientR(BTransport transport) { return(new BClient_JSFS(transport)); }
public BStub_RemoteSetTypes(BTransport transport) : base(transport) { }
private void initStubs(BTransport transport) { bUtilityRequestsVal = new BStub_BUtilityRequests(transport); }
public override BOutput getOutput(BTransport transport) { if (negotiatedByteOrder == ByteOrder.UNDEFINED) throw new BException(BExceptionC.INTERNAL, "Protocol object can only be used for input."); return new BOutputS(transport, negotiatedBypsVersion, negotiatedVersion, negotiatedByteOrder); }
public BServerR(BTransport transport, BServer server) { this.transport = transport; this.server = new MyServer(this, server); }
protected virtual BRemote internalCreate(BTransport transport) { return null; // must be implemented by subclass }
protected override BRemote internalCreate(BTransport transport) { return new BStub_EvolveIF(transport); }
public BStub_RemoteWithAuthentication(BTransport transport) : base(transport) { }
public BServer_JSFS(BTransport transport) : base(transport, null) { }
protected override BRemote internalCreate(BTransport transport) { return new BStub_RemoteReferences(transport); }
protected override BRemote internalCreate(BTransport transport) { return new BStub_RemoteInlineInstance(transport); }
public BStub_RemoteWithAuthentication(BTransport transport) : base(transport) {}
public override BOutput getResponse(BTransport transport, BMessageHeader requestHeader) { if (negotiatedByteOrder == ByteOrder.UNDEFINED) throw new BException(BExceptionC.INTERNAL, "Protocol object can only be used for input."); return new BOutputS(transport, requestHeader); }
private void initStubs(BTransport transport) { dispatcherServiceVal = new BStub_DispatcherService(transport); fileSystemNotifyVal = new BStub_FileSystemNotify(transport); fileSystemServiceVal = new BStub_FileSystemService(transport); }
public BStub_EvolveIF(BTransport transport) : base(transport) { }
public override BInput getInput(BTransport transport, BMessageHeader responseHeader, ByteBuffer buf) { return new BInputS(transport, responseHeader, buf); }
public BStub_BUtilityRequests(BTransport transport) : base(transport) { }
protected override BRemote internalCreate(BTransport transport) { return(new BStub_FileSystemNotify(transport)); }
public BStub_RemoteArrayTypes4dim(BTransport transport) : base(transport) {}
protected override BRemote internalCreate(BTransport transport) { return(new BStub_DispatcherService(transport)); }
protected override BRemote internalCreate(BTransport transport) { return(new BStub_SystemInformation(transport)); }
public BStub_RemoteReferences(BTransport transport) : base(transport) {}
protected override BRemote internalCreate(BTransport transport) { return(new BStub_RawStreamService(transport)); }
public static BClient_Testser createClientR(BTransport transport) { return new BClient_Testser(transport); }
protected override BRemote internalCreate(BTransport transport) { return(new BStub_RemoteListTypes(transport)); }
protected BClient_Testser(BTransport transport) : base(transport, null) { initStubs(transportVal); }
protected override BRemote internalCreate(BTransport transport) { return(new BStub_HealthCheckService(transport)); }
private void initStubs(BTransport transport) { bioFruitServiceVal = new byps.test.api.inherit.BStub_BioFruitService(transport); bioLemonServiceVal = new byps.test.api.inherit.BStub_BioLemonService(transport); fruitServiceVal = new byps.test.api.inherit.BStub_FruitService(transport); lemonServiceVal = new byps.test.api.inherit.BStub_LemonService(transport); plantServiceVal = new byps.test.api.inherit.BStub_PlantService(transport); remoteArrayTypes1dimVal = new byps.test.api.remote.BStub_RemoteArrayTypes1dim(transport); remoteArrayTypes23Val = new byps.test.api.remote.BStub_RemoteArrayTypes23(transport); remoteArrayTypes4dimVal = new byps.test.api.remote.BStub_RemoteArrayTypes4dim(transport); remoteConstantsVal = new byps.test.api.remote.BStub_RemoteConstants(transport); remoteEnumsVal = new byps.test.api.remote.BStub_RemoteEnums(transport); remoteInlineInstanceVal = new byps.test.api.remote.BStub_RemoteInlineInstance(transport); remoteListTypesVal = new byps.test.api.remote.BStub_RemoteListTypes(transport); remoteMapTypesVal = new byps.test.api.remote.BStub_RemoteMapTypes(transport); remotePrimitiveTypesVal = new byps.test.api.remote.BStub_RemotePrimitiveTypes(transport); remoteReferencesVal = new byps.test.api.remote.BStub_RemoteReferences(transport); remoteServerCtrlVal = new byps.test.api.remote.BStub_RemoteServerCtrl(transport); remoteSetTypesVal = new byps.test.api.remote.BStub_RemoteSetTypes(transport); remoteStreamsVal = new byps.test.api.remote.BStub_RemoteStreams(transport); remoteWithAuthenticationVal = new byps.test.api.remote.BStub_RemoteWithAuthentication(transport); clientIFVal = new byps.test.api.srvr.BStub_ClientIF(transport); serverIFVal = new byps.test.api.srvr.BStub_ServerIF(transport); evolveIFVal = new byps.test.api.ver.BStub_EvolveIF(transport); }
protected override BRemote internalCreate(BTransport transport) { return new BStub_BioFruitService(transport); }
public static BClient_BUtilityRequests createClientR(BTransport transport) { return new BClient_BUtilityRequests(transport); }
public BStub_SystemInformation(BTransport transport) : base(transport) { }
protected BClient_BUtilityRequests(BTransport transport) : base(transport, null) { initStubs(transportVal); }