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 voidclose()protected InputStreamgetInputStream()protected OutputStreamgetOutputStream()-
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:
getInputStreamin classStreamConnection- Throws:
IOException
-
getOutputStream
protected OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStreamin classStreamConnection- Throws:
IOException
-
-