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

Attachments

2

Activity

Show:

Henning Staib August 15, 2010 at 12:13 PM

done in revision 11821

Henning Staib April 29, 2010 at 12:21 AM

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

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created March 4, 2010 at 3:45 AM
Updated October 7, 2013 at 2:35 AM
Resolved November 24, 2010 at 3:06 AM