using System; using System.Text; namespace IvyBus { public abstract class IvyProtocol { abstract internal void TokenStartRegexp(ushort port, string appName); abstract internal void TokenEndRegexp(); abstract internal void TokenApplicationId(ushort priority, string appId); abstract internal void TokenAddBinding(Ivy.ApplicationBinding bind); abstract internal void TokenDelBinding(ushort bind); abstract internal void TokenDirectMsg(ushort id, string message); abstract internal void TokenPong(string s); abstract internal void TokenPing(string s); abstract internal void TokenBye(ushort id, string message); abstract internal void TokenDie(ushort err, string message); abstract internal void TokenMsg(ushort key, string[] args); abstract internal void TokenError(ushort id, string message); } }