tigase.test.util
Class SocketBosh

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

public class SocketBosh
extends SocketXMLIO

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

Version:
$Rev: 143 $
Author:
Artur Hefczyc

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

Constructor Detail

SocketBosh

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

Throws:
java.io.IOException
Method Detail

write

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

read

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

close

public void close()
Specified by:
close in interface XMLIO
Overrides:
close in class SocketXMLIO

initSocket

protected void initSocket(java.lang.String data)
                   throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005-2008 Tigase. All Rights Reserved.