| Package | Description |
|---|---|
| hudson.remoting |
Remoting infrastructure for Hudson.
|
| org.jenkinsci.remoting.util |
| Modifier and Type | Class and Description |
|---|---|
class |
Request<RSP extends Serializable,EXC extends Throwable>
Request/response pattern over
Channel, the layer-1 service. |
class |
Response<RSP,EXC extends Throwable>
Request/response pattern over
Command. |
class |
UnexportCommand
Command that unexports an object. |
| Modifier and Type | Method and Description |
|---|---|
abstract Command |
SynchronousCommandTransport.read()
Called by
Channel to read the next command to arrive from the stream. |
Command |
AbstractSynchronousByteArrayCommandTransport.read() |
static Command |
Command.readFrom(Channel channel,
byte[] payload)
Reads command from the specified payload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommandTransport.CommandReceiver.handle(Command cmd)
Notifies the channel that a new
Command was received from the other side. |
void |
Channel.Listener.onRead(Channel channel,
Command cmd,
long blockSize)
Called when a command is successfully received by a channel.
|
void |
Channel.Listener.onWrite(Channel channel,
Command cmd,
long blockSize)
Called when a command is successfully written to a channel.
|
abstract void |
CommandTransport.write(Command cmd,
boolean last)
Called by
Channel to send one command to the other side. |
void |
AbstractByteBufferCommandTransport.write(Command cmd,
boolean last)
Called by
Channel to send one command to the other side. |
void |
AbstractSynchronousByteArrayCommandTransport.write(Command cmd,
boolean last) |
void |
AbstractByteArrayCommandTransport.write(Command cmd,
boolean last) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoggingChannelListener.onRead(Channel channel,
Command cmd,
long blockSize) |
void |
LoggingChannelListener.onWrite(Channel channel,
Command cmd,
long blockSize) |
Copyright © 2004–2018. All rights reserved.