Package aQute.remote.agent
Class NullRedirector
java.lang.Object
aQute.remote.agent.NullRedirector
- All Implemented Interfaces:
Redirector,Closeable,AutoCloseable
This is a null redirector. That is, it just does nothing.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NullRedirector
public NullRedirector()
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getPort
public int getPort()Description copied from interface:RedirectorThe port (or pseudo port) this one is connected to- Specified by:
getPortin interfaceRedirector- Returns:
- the port
-
stdin
Description copied from interface:RedirectorProvide input- Specified by:
stdinin interfaceRedirector- Parameters:
s- the input
-
getOut
Description copied from interface:RedirectorGet the output stream- Specified by:
getOutin interfaceRedirector- Throws:
Exception
-