public class SocketBosh extends SocketXMLIO
ignore_presence, socket| Constructor and Description |
|---|
SocketBosh(Socket sock)
Creates a new
SocketXMLReader instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Method description
|
protected void |
initSocket(String data)
Method description
|
Queue<tigase.xml.Element> |
read()
Method description
|
void |
setKeepAlive(boolean keep_alive)
Method description
|
void |
write(String data)
Method description
|
isConnected, setIgnorePresence, setSocket, writepublic SocketBosh(Socket sock) throws IOException
SocketXMLReader instance.sock - IOExceptionpublic void setKeepAlive(boolean keep_alive)
keep_alive - public void write(String data) throws IOException
write in interface XMLIOwrite in class SocketXMLIOdata - IOExceptionpublic Queue<tigase.xml.Element> read() throws IOException
read in interface XMLIOread in class SocketXMLIOIOExceptionpublic void close()
close in interface XMLIOclose in class SocketXMLIOprotected void initSocket(String data) throws IOException
data - IOExceptionCopyright © 2005–2014 Tigase. All rights reserved.