Class 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$
    Author:
    Artur Hefczyc
    • Field Detail

      • socket

        protected Socket socket
        Field description
      • ignore_presence

        protected boolean ignore_presence
        Field description
    • Constructor Detail

      • SocketXMLIO

        public SocketXMLIO​(Socket sock)
                    throws IOException
        Creates a new SocketXMLReader instance.
        Parameters:
        sock -
        Throws:
        IOException
    • Method Detail

      • close

        public void close()
        Method description
        Specified by:
        close in interface XMLIO
      • isConnected

        public boolean isConnected()
        Method description
        Returns:
      • write

        public void write​(tigase.xml.Element data)
                   throws IOException
        Method description
        Specified by:
        write in interface XMLIO
        Parameters:
        data -
        Throws:
        IOException
      • setIgnorePresence

        public void setIgnorePresence​(boolean ignore)
        Method description
        Specified by:
        setIgnorePresence in interface XMLIO
        Parameters:
        ignore -