public bool Send(Protocol protocol, string className, ClientMessageDispatch.ListenDelegate cb) { if (status != Status.Connected) { return(false); } dispatch.AddOnceListener(className, cb); return(Send(protocol)); }
public bool Send(Protocol protocol, ClientMessageDispatch.ListenDelegate cb) { string className = protocol.ClassName; return(Send(protocol, className, cb)); }