1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 17:49:38 +02:00

Added option to recreate wrappers of new reader and writer. SMACK-76

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2730 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2005-08-27 02:23:36 +00:00 committed by gato
parent 991e958097
commit 523beeac55
4 changed files with 68 additions and 4 deletions

View file

@ -58,6 +58,22 @@ public interface SmackDebugger {
*/
public abstract Writer getWriter();
/**
* Returns a new special Reader that wraps the new connection Reader. The connection
* has been secured so he now have a new reader and writer.
*
* @return a new special Reader that wraps the new connection Reader.
*/
public abstract Reader newConnectionReader(Reader reader);
/**
* Returns a new special Writer that wraps the new connection Writer. The connection
* has been secured so he now have a new reader and writer.
*
* @return a new special Writer that wraps the new connection Writer.
*/
public abstract Writer newConnectionWriter(Writer writer);
/**
* Returns the thread that will listen for all incoming packets and write them to the GUI.
* This is what we call "interpreted" packet data, since it's the packet data as Smack sees