Class SocketConnection
- java.lang.Object
-
- de.larsgrefer.sass.embedded.connection.StreamConnection
-
- de.larsgrefer.sass.embedded.connection.SocketConnection
-
- All Implemented Interfaces:
CompilerConnection
,Closeable
,AutoCloseable
public class SocketConnection extends StreamConnection
-
-
Constructor Summary
Constructors Constructor Description SocketConnection(Socket socket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected InputStream
getInputStream()
protected OutputStream
getOutputStream()
-
Methods inherited from class de.larsgrefer.sass.embedded.connection.StreamConnection
readResponse, sendMessage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.larsgrefer.sass.embedded.connection.CompilerConnection
sendMessage
-
-
-
-
Constructor Detail
-
SocketConnection
public SocketConnection(Socket socket)
-
-
Method Detail
-
close
public void close() throws IOException
- Throws:
IOException
-
getInputStream
protected InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in classStreamConnection
- Throws:
IOException
-
getOutputStream
protected OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in classStreamConnection
- Throws:
IOException
-
-