ExternalComponentManager.java

  •  
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introducing SLF4J without breaking backwards compatibility (WHACK-12).
Introducing SLF4J without breaking backwards compatibility (WHACK-12).
  1. … 1 more file in changeset.
Unifying IQResultListener (TINDER-6)
Unifying IQResultListener (TINDER-6)
  1. … 2 more files in changeset.
Replacing code that's now in the new Tinder project with a jar generated by the Tinder project (WHACK-11, TINDER-5).
Replacing code that's now in the new Tinder project with a jar generated by the Tinder project (WHACK-11, TINDER-5).
  1. … 28 more files in changeset.
Fixed default port (WHACK-9).
Fixed default port (WHACK-9).
A few fixes for whack:…
A few fixes for whack:

synchronous IQ requests when not recieving a response from the server will return null.

packet processing thread pool now has a proper pool size, basically the core pool size is only increased if the queue is full though since the pool size is Integer.MAX_VALUE this will likely not occur under normal circumstances which is not the desired behavior. Thusly, tasks will queue up and not be processed if there is a long running or perhaps blocked thread processing a packet on the only thread available.

  1. … 2 more files in changeset.
Fixed memory leak of IQResultListeners.
Fixed memory leak of IQResultListeners.
  1. … 3 more files in changeset.
1) Rolled back Alex changes…
1) Rolled back Alex changes

2) Modified "allowed to connect many times" API

  1. … 2 more files in changeset.
Fixed memory leak in query handling. WHACK-8
Fixed memory leak in query handling. WHACK-8
  1. … 2 more files in changeset.
[WHACK-1] Added ability to add a component to a specific port.
[WHACK-1] Added ability to add a component to a specific port.
[WHACK-7] Added support for new allowMultiple capabilities.…
[WHACK-7] Added support for new allowMultiple capabilities.

Couple of project updates.

  1. … 6 more files in changeset.
1) Made reconnection logic thread safe. WHACK-5…
1) Made reconnection logic thread safe. WHACK-5

2) Allowed to register component by only sending desired subdomain. WHACK-6

  1. … 1 more file in changeset.
Added support to set a connection timeout. Default value is 2 seconds.
Added support to set a connection timeout. Default value is 2 seconds.
  1. … 1 more file in changeset.
Fixed class cast exception.
Fixed class cast exception.
Added blocking delivery of IQ packets and support for listeners.
Added blocking delivery of IQ packets and support for listeners.
  1. … 3 more files in changeset.
Fixed NPE when removing inexistent component.
Fixed NPE when removing inexistent component.
1) Validate host in constructor.…
1) Validate host in constructor.

2) Changed default port to be 5225.

Removed coupling to container.
Removed coupling to container.
Separated host from domain.
Separated host from domain.

  1. … 3 more files in changeset.
Component#initialize may now throw a ComponentException which will make the component not be registered.
Component#initialize may now throw a ComponentException which will make the component not be registered.

  1. … 1 more file in changeset.
Fix to remove the component in the event of an exception.
Fix to remove the component in the event of an exception.

Added sanity checks when adding new component.
Added sanity checks when adding new component.

1. Enhanced #addComponent when establishing a new connection and initializing the component.…
1. Enhanced #addComponent when establishing a new connection and initializing the component.

2. Added #getHomeDirectory

3. Set the ExternalComponentManager as the default factory when a new instance is created.

Added logic to reestabish the connection if the connection with the server was lost.
Added logic to reestabish the connection if the connection with the server was lost.

  1. … 2 more files in changeset.
Added dummy logger that logs to the stdout or stderr.
Added dummy logger that logs to the stdout or stderr.

First iteration for adding support for components. JM-5
First iteration for adding support for components. JM-5

  1. … 2 more files in changeset.
Improved factory.
Improved factory.

  1. … 1 more file in changeset.
More updates.
More updates.

  1. … 2 more files in changeset.
Checking in current progress.
Checking in current progress.

    • -0
    • +103
    ./ExternalComponentManager.java
  1. … 3 more files in changeset.