integrate of the extracted Socks5 bytestream API in file transfer API

Description

Integration of the extracted Socks5 bytestream API in file transfer API

  • adds methods to Socks5ByteStreamManager to ignore a specific Socks5 bytestream request (to not notify about an incoming request if the request is expected as a reply to the file transfer request)

  • adds test for ignoring Socks5 bytestream requests

FileTransferNegotiator:

  • now uses namespace constants from Socks5ByteStreamManager and IBBTransferNegotiator (were doubled in old implementation)

  • prevent multiple adding of features to ServiceDiscoveryManager

  • replaced usage of obsolete Socks5TransferNegotiatorManager with Socks5TransferNegotiator

FileTransferNegotiatorManager:

  • removed unused interface

Socks5TransferNegotiator:

  • rewrite to use extracted Socks5 bytestream API

Socks5TransferNegotiatorManager:

  • obsolete because of extracted Socks5 bytestream API

StreamNegotiator:

  • extended signatures of blocking methods to throw InterruptedException if interrupted while waiting for IO operations

Tests:

  • SmackTestCase that use a real XMPP server establishing Socks5 bytestreams

  • tests will fail if XMPP server doesn't support Socks5 bytestreams or bidirectional streams

Environment

None

Activity

Show:
Henning Staib
August 15, 2010, 12:13 PM

done in revision 11821

Henning Staib
April 29, 2010, 12:21 AM

The current version of the compiled Socks5 bytestream patch can be found here:
http://www.igniterealtime.org/community/message/202909

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Robin Collier

Reporter

Henning Staib