Genesys CTI User Forum > Genesys-related Development
Platform SDK 8.1, how to get EventResourceInfo from TServer [JAVA]
artem.koloskov:
Hi all, hope this not a dull question to ask, but i've failed to find ANY info on the subject.
I'm trying to build a little application on java, that monitors MCP resources and for that i need to get EventResourceInfo from TServer, but i can't find the proper request, that could return to me that event.
Thanks in advance for your help.
Artem.
cavagnaro:
Not sure what you are trying to monitor but:
http://www.genesyslab.info/repository/PSDK/8.0-Java_API_Reference/com/genesyslab/platform/voice/protocol/tserver/events/EventResourceInfo.html
artem.koloskov:
[quote author=cavagnaro link=topic=8476.msg37293#msg37293 date=1408369115]
Not sure what you are trying to monitor but:
http://www.genesyslab.info/repository/PSDK/8.0-Java_API_Reference/com/genesyslab/platform/voice/protocol/tserver/events/EventResourceInfo.html
[/quote]
Thanks for reply, but I know what is this event and how to create instances of it. But what I need is for TServer to answer on my request with this event. And I can't find info on which type of request should it be. Or perhaps I could somehow subscribe for this events?
cavagnaro:
As it is a TServer event, guess would be a simple listener of the MessageId:
[code]
switch(response.messageId())
{
case EventResourceInfo.ID:
//Whatever you wanna here
case EventError.ID:
//Whatever you wanna here
...
}
[/code]
artem.koloskov:
This is not a problem too. This response should come after some request to TSereverProtocol. The exact type of this request is what I am looking for.
Thank you for trying to help me btw. Really appreciate it.
Navigation
[0] Message Index
[#] Next page
Go to full version