Author Topic: Sending KeepAlive message to TServer  (Read 1963 times)

Offline Gabi

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 0
Sending KeepAlive message to TServer
« on: October 19, 2017, 01:47:29 PM »
Hello. I was wondering if you could help me with this.

I need WDE to send KeepAlive messages to a TServer. I don't know if there is already a configuration option which enables WDE to do this (if there is, I have not found it), or if it should be done with either PSDK or Enterprise SDK and, if so, how.

All I have right now is an excerpt from a log in which one such message was sent.

[code]message EventUserEvent

            AttributeEventSequenceNumber      00000000001ad553

            AttributeTimeinuSecs            518000

            AttributeTimeinSecs  1507647650 (12:00:50)

            AttributeUserEvent    EventUserEvent

            AttributeAgentID        '9200'

            AttributeThisDN        '541143357300'

            AttributeUserData      [34] 00 01 00 00..

                        'GSW_AGENT_REQ_TYPE'      'KeepAlive'

            AttributeServerCapabilityMask        [64] ff ff ff ff..

            AttributeReferenceID  6[/code]

Assuming I need to build a RequestDistributeUserEvent, I can see what the User Data needs to be, and I believe I can find the DN and the agent ID (I'm assuming it's the Employee ID), but I don't know what the sequence number, times, capability mask and reference ID should be.

Any help will be appreciated.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Sending KeepAlive message to TServer
« Reply #1 on: October 20, 2017, 07:54:19 AM »
For what purposes do you need the "keep-alive"? There is built-in mechanism which can be used for this purpose (ADDP)