Top Description Fields Constructors Methods
org.eclipse.jgit.transport

public Class DaemonClient

extends Object
Class Inheritance
Imports
java.io.BufferedInputStream, .BufferedOutputStream, .IOException, .InputStream, .OutputStream, java.net.InetAddress, .Socket, java.util.Arrays, .Collection, org.eclipse.jgit.transport.resolver.ServiceNotAuthorizedException, .ServiceNotEnabledException

Active network client of org.eclipse.jgit.transport.Daemon.

Field Summary

Modifier and TypeField and Description
private final Daemon
private InetAddress
private InputStream
private OutputStream

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public Daemon

Returns:

the daemon which spawned this client.
getDaemon
()

Get the daemon which spawned this client.

public InputStream

Returns:

input stream to read from the connected client.
getInputStream
()

Get input stream to read from the connected client.

public OutputStream

Returns:

output stream to send data to the connected client.
getOutputStream
()

Get output stream to send data to the connected client.

public InetAddress

Returns:

Internet address of the remote client.
getRemoteAddress
()

Get Internet address of the remote client.

pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

daemonback to summary
private final Daemon daemon
peerback to summary
private InetAddress peer
rawInback to summary
private InputStream rawIn
rawOutback to summary
private OutputStream rawOut

Constructor Detail

DaemonClientback to summary
pack-priv DaemonClient(Daemon d)

Method Detail

executeback to summary
pack-priv void execute(Socket sock) throws IOException, ServiceNotEnabledException, ServiceNotAuthorizedException
getDaemonback to summary
public Daemon getDaemon()

Get the daemon which spawned this client.

Returns:Daemon

the daemon which spawned this client.

getInputStreamback to summary
public InputStream getInputStream()

Get input stream to read from the connected client.

Returns:InputStream

input stream to read from the connected client.

getOutputStreamback to summary
public OutputStream getOutputStream()

Get output stream to send data to the connected client.

Returns:OutputStream

output stream to send data to the connected client.

getRemoteAddressback to summary
public InetAddress getRemoteAddress()

Get Internet address of the remote client.

Returns:InetAddress

Internet address of the remote client.

setRemoteAddressback to summary
pack-priv void setRemoteAddress(InetAddress ia)