~ubuntu-branches/ubuntu/saucy/quassel/saucy-proposed

« back to all changes in this revision

Viewing changes to src/common/signalproxy.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-02-17 12:49:50 UTC
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: james.westby@ubuntu.com-20100217124950-v9hajw5d2xa6fszn
Tags: upstream-0.6~beta1
ImportĀ upstreamĀ versionĀ 0.6~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
  void setProxyMode(ProxyMode mode);
77
77
  inline ProxyMode proxyMode() const { return _proxyMode; }
78
78
 
 
79
  void setHeartBeatInterval(int secs);
 
80
  inline int heartBeatInterval() const { return _heartBeatInterval; }
 
81
  void setMaxHeartBeatCount(int max);
 
82
  inline int maxHeartBeatCount() const { return _maxHeartBeatCount; }
 
83
 
79
84
  bool addPeer(QIODevice *iodev);
80
85
  bool addPeer(SignalProxy *proxy);
81
86
  void removePeer(QObject *peer);
195
200
 
196
201
  ProxyMode _proxyMode;
197
202
  QTimer _heartBeatTimer;
 
203
  int _heartBeatInterval;
 
204
  int _maxHeartBeatCount;
198
205
 
199
206
  bool _secure; // determines if all connections are in a secured state (using ssl or internal connections)
200
207
 
238
245
  inline int methodId(const QByteArray &methodName) { return _methodIds.contains(methodName) ? _methodIds[methodName] : -1; }
239
246
 
240
247
  inline int updatedRemotelyId() { return _updatedRemotelyId; }
241
 
  
 
248
 
242
249
  inline const QHash<QByteArray, int> &slotMap() { return _methodIds; }
243
250
  const QHash<int, int> &receiveMap();
244
251