Пример #1
0
 public bool Send(Protocol protocol, string className, ClientMessageDispatch.ListenDelegate cb)
 {
     if (status != Status.Connected)
     {
         return(false);
     }
     dispatch.AddOnceListener(className, cb);
     return(Send(protocol));
 }
Пример #2
0
    public bool Send(Protocol protocol, ClientMessageDispatch.ListenDelegate cb)
    {
        string className = protocol.ClassName;

        return(Send(protocol, className, cb));
    }