18 lines
515 B
C#
18 lines
515 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace BCG {
|
|
public delegate void PubSubConnectionChange(bool isConnected, string connection);
|
|
|
|
public interface ISubscriberCore : IDisposable {
|
|
void subscribe(params string[] tags);
|
|
void unsubscribe(params string[] tags);
|
|
IEnumerable<bts.PubSubServerMessage> get_updates(TimeSpan timeout);
|
|
IPubSubRouter get_router();
|
|
|
|
event PubSubConnectionChange onPubSubConnectionChange;
|
|
}
|
|
}
|