tigase.test.util
Class SocketXMLIO
java.lang.Object
tigase.test.util.SocketXMLIO
- All Implemented Interfaces:
- XMLIO
- Direct Known Subclasses:
- SocketBosh
public class SocketXMLIO
- extends Object
- implements XMLIO
Describe class SocketXMLIO here.
Created: Wed May 18 16:23:47 2005
- Version:
- $Rev: 191 $
- Author:
- Artur Hefczyc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
socket
protected Socket socket
ignore_presence
protected boolean ignore_presence
SocketXMLIO
public SocketXMLIO(Socket sock)
throws IOException
- Creates a new
SocketXMLReader instance.
- Throws:
IOException
setSocket
public void setSocket(Socket sock)
throws IOException
- Throws:
IOException
close
public void close()
- Specified by:
close in interface XMLIO
isConnected
public boolean isConnected()
write
public void write(tigase.xml.Element data)
throws IOException
- Specified by:
write in interface XMLIO
- Throws:
IOException
write
public void write(String data)
throws IOException
- Specified by:
write in interface XMLIO
- Throws:
IOException
read
public Queue<tigase.xml.Element> read()
throws IOException
- Specified by:
read in interface XMLIO
- Throws:
IOException
setIgnorePresence
public void setIgnorePresence(boolean ignore)
- Specified by:
setIgnorePresence in interface XMLIO
Copyright © 2005-2012 Tigase. All Rights Reserved.