|
Wildfire 3.1.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
org.jivesoftware.util.XMLWriter
org.jivesoftware.wildfire.net.XMLSocketWriter
public class XMLSocketWriter
XMLWriter whose writer is actually sending data on a socket connection. Since sending data over a socket may have particular type of errors this class tries to deal with those errors.
Field Summary |
---|
Fields inherited from class org.jivesoftware.util.XMLWriter |
---|
DEFAULT_FORMAT, lastOutputNodeType, LEXICAL_HANDLER_NAMES, preserve, writer |
Constructor Summary | |
---|---|
XMLSocketWriter(Writer writer,
SocketConnection connection)
|
Method Summary | |
---|---|
void |
flush()
Flushes the underlying writer making sure that if the connection is dead then the thread that is flushing does not end up in an endless wait. |
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
---|
error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, parse, resolveEntity, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, skippedEntity, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLSocketWriter(Writer writer, SocketConnection connection)
Method Detail |
---|
public void flush() throws IOException
flush
in class XMLWriter
IOException
- if an I/O error occurs while flushing the writer.
|
Wildfire 3.1.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |