Exemplo n.º 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));
 }
Exemplo n.º 2
0
    public bool Send(Protocol protocol, ClientMessageDispatch.ListenDelegate cb)
    {
        string className = protocol.ClassName;

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