public virtual void addRemote(int remoteId, BSkeleton remoteImpl) { if (remoteImpl != null) { remotes[remoteId] = remoteImpl; remoteImpl.BSkeleton_setTargetId(transport.getTargetId()); } }
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; }
public BTargetId BRemote_getTargetId() { return(transport.getTargetId()); }