Openfire (ARCHIVED)

Add support in ComponentManager for sending packets in blocking mode

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.1.1
  • Fix Version/s: 3.2.0 Beta
  • Component/s: Core
  • Labels:
    None
  • Acceptance Test - Add?:
    No

Description

Add new messages to ComponentManager:

1) public IQ query(Component component, IQ packet, int timeout) throws ComponentException;
2) public void query(Component component, IQ packet, IQResultListener listener) throws ComponentException;

Number 1 will block until a reply is received or timed out. Number 2 will return immediately and will trigger the listener when an answer is received.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: