tigase.test.util
Class SocketXMLIO

java.lang.Object
  extended by tigase.test.util.SocketXMLIO
All Implemented Interfaces:
XMLIO

public class SocketXMLIO
extends java.lang.Object
implements XMLIO

Describe class SocketXMLIO here. Created: Wed May 18 16:23:47 2005

Version:
$Rev: 64 $
Author:
Artur Hefczyc

Constructor Summary
SocketXMLIO(java.net.Socket sock)
          Creates a new SocketXMLReader instance.
 
Method Summary
 java.util.Queue<tigase.xml.Element> read()
           
 void write(tigase.xml.Element data)
           
 void write(java.lang.String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketXMLIO

public SocketXMLIO(java.net.Socket sock)
            throws java.io.IOException
Creates a new SocketXMLReader instance.

Throws:
java.io.IOException
Method Detail

write

public void write(tigase.xml.Element data)
           throws java.io.IOException
Specified by:
write in interface XMLIO
Throws:
java.io.IOException

write

public void write(java.lang.String data)
           throws java.io.IOException
Specified by:
write in interface XMLIO
Throws:
java.io.IOException

read

public java.util.Queue<tigase.xml.Element> read()
                                         throws java.io.IOException
Specified by:
read in interface XMLIO
Throws:
java.io.IOException


Copyright © 2005-2007 Tigase. All Rights Reserved.