Example #1
0
        public ChabuXmitterStartup(AbortMessage abortMessage, Runnable xmitRequestListener, Setup setup, Runnable startupCompletedListener)
            : base(abortMessage, xmitRequestListener)
        {
            actionsSetupRun = new List <LoopCtrlAction>
            {
                xmitAction_RemainingXmitBuf,
                xmitAction_EvalStartup,
                xmitAction_EvalAbort,
                xmitAction_EvalAccept,
                xmitAction_End,
            };

            this.setup = setup;
            this.startupCompletedListener = startupCompletedListener;
            xmitBuf.order(ByteOrder.BIG_ENDIAN);
            xmitBuf.clear().limit(0);

            processXmitSetup();
        }
Example #2
0
 public ChabuReceiverStartup(AbortMessage localAbortMessage, Setup setup, Runnable completedStartup)
     : base(null, localAbortMessage)
 {
     this.completedStartupListener = completedStartup;
     this.setup = setup;
 }