/// <summary>Sends in a new thread if isThreaded, otherwise in current thread </summary> private void sendAppResponse(NuGenTransportable theResponse) { NuGenProcessorImpl processor = this; IThreadRunnable sender = new AnonymousClassRunnable(processor, theResponse, this); if (myThreaded) { SupportClass.ThreadClass thd = new SupportClass.ThreadClass(new System.Threading.ThreadStart(sender.Run)); thd.Start(); } else { sender.Run(); } }
public ExpiringTransportable(NuGenProcessorImpl enclosingInstance, NuGenTransportable theTransportable, long theExpiryTime) { InitBlock(enclosingInstance); transportable = theTransportable; expiryTime = theExpiryTime; }
private void InitBlock(NuGenProcessorImpl enclosingInstance) { this.enclosingInstance = enclosingInstance; }
private void InitBlock(Genetibase.NuGenHL7.protocol.impl.NuGenProcessorImpl processor, Genetibase.NuGenHL7.protocol.NuGenTransportable theResponse, NuGenProcessorImpl enclosingInstance) { this.processor = processor; this.theResponse = theResponse; this.enclosingInstance = enclosingInstance; }
public AnonymousClassRunnable(Genetibase.NuGenHL7.protocol.impl.NuGenProcessorImpl processor, Genetibase.NuGenHL7.protocol.NuGenTransportable theResponse, NuGenProcessorImpl enclosingInstance) { InitBlock(processor, theResponse, enclosingInstance); }