We're updating the issue view to help you get more done. 

Add support in ComponentManager for sending packets in blocking mode

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.

Environment

None

Acceptance Test - Entry

None

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure