Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AgentSession agentSession = new AgentSession("demo@workgroup.rsweb37", connection);
- agentSession.setOnline(true);
- agentSession.addOfferListener(new OfferListenereClass());
- AgentRoster agentRoster = agentSession.getAgentRoster();
- JOptionPane.showConfirmDialog(null, agentRoster.getAgents());
- // Presence of the Agent
- JOptionPane.showConfirmDialog(null, agentSession.getAgentRoster().getPresence("demo@rsweb37"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement