Пример #1
0
    public override void waitForHeartbeat(int count, Ice.Current current)
    {
        HeartbeatCallbackI callback = new HeartbeatCallbackI();

        current.con.setHeartbeatCallback(callback.heartbeat);
        callback.waitForCount(count);
    }
Пример #2
0
 public void startHeartbeatCount(Current current)
 {
     _callback = new HeartbeatCallbackI();
     current.Connection.SetHeartbeatCallback(_callback.heartbeat);
 }
Пример #3
0
 public override void waitForHeartbeat(int count, Ice.Current current)
 {
     HeartbeatCallbackI callback = new HeartbeatCallbackI();
     current.con.setHeartbeatCallback(callback.heartbeat);
     callback.waitForCount(count);
 }
Пример #4
0
 public override void startHeartbeatCount(Ice.Current current)
 {
     _callback = new HeartbeatCallbackI();
     current.con.setHeartbeatCallback(_callback.heartbeat);
 }
Пример #5
0
 public void startHeartbeatCount(Current current)
 {
     _callback = new HeartbeatCallbackI();
     current.Connection !.SetHeartbeatCallback(_ => _callback.Heartbeat());
 }
Пример #6
0
 public void startHeartbeatCount(Current current)
 {
     _callback = new HeartbeatCallbackI();
     current.con.setHeartbeatCallback(_callback.heartbeat);
 }
Пример #7
0
 public void startHeartbeatCount(Current current)
 {
     _callback = new HeartbeatCallbackI();
     current.Connection !.HeartbeatReceived += (sender, args) => _callback.Heartbeat();
 }