tigase.test.util
Class SocketBosh
java.lang.Object
tigase.test.util.SocketXMLIO
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: 224 $
- Author:
- Artur Hefczyc
|
Constructor Summary |
SocketBosh(Socket sock)
Creates a new SocketXMLReader instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketBosh
public SocketBosh(Socket sock)
throws IOException
- Creates a new
SocketXMLReader instance.
- Throws:
IOException
setKeepAlive
public void setKeepAlive(boolean keep_alive)
write
public void write(String data)
throws IOException
- Specified by:
write in interface XMLIO- Overrides:
write in class SocketXMLIO
- Throws:
IOException
read
public Queue<tigase.xml.Element> read()
throws IOException
- Specified by:
read in interface XMLIO- Overrides:
read in class SocketXMLIO
- Throws:
IOException
close
public void close()
- Specified by:
close in interface XMLIO- Overrides:
close in class SocketXMLIO
initSocket
protected void initSocket(String data)
throws IOException
- Throws:
IOException
Copyright © 2005-2012 Tigase. All Rights Reserved.