예제 #1
0
 public TimeoutCallback(ConnectionI connection)
 {
     _connection = connection;
 }
예제 #2
0
            internal bool sent(ConnectionI connection, bool notify)
            {
                isSent = true; // The message is sent.

                if(@out != null)
                {
                    @out.sent(notify); // true = notify the waiting thread that the request was sent.
                    return false;
                }
                else if(outAsync != null)
                {
                    sentCallback = outAsync.sent__(connection);
                    return sentCallback != null;
                }
                else
                {
                    return false;
                }
            }