Package org.eclipse.jgit.transport
Class DaemonClient
java.lang.Object
org.eclipse.jgit.transport.DaemonClient
Active network client of
Daemon
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Daemon
private InetAddress
private InputStream
private OutputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
Get the daemon which spawned this client.Get input stream to read from the connected client.Get output stream to send data to the connected client.Get Internet address of the remote client.(package private) void
-
Field Details
-
daemon
-
peer
-
rawIn
-
rawOut
-
-
Constructor Details
-
DaemonClient
DaemonClient(Daemon d)
-
-
Method Details
-
setRemoteAddress
-
getDaemon
Get the daemon which spawned this client.- Returns:
- the daemon which spawned this client.
-
getRemoteAddress
Get Internet address of the remote client.- Returns:
- Internet address of the remote client.
-
getInputStream
Get input stream to read from the connected client.- Returns:
- input stream to read from the connected client.
-
getOutputStream
Get output stream to send data to the connected client.- Returns:
- output stream to send data to the connected client.
-
execute
void execute(Socket sock) throws IOException, ServiceNotEnabledException, ServiceNotAuthorizedException
-