public class KafkaByteArrayCommandTransport
extends hudson.remoting.AbstractByteArrayCommandTransport
| Constructor and Description |
|---|
KafkaByteArrayCommandTransport(hudson.remoting.Capability remoteCapability,
String topic,
String key,
org.apache.kafka.clients.producer.Producer<String,byte[]> producer,
org.apache.kafka.clients.consumer.Consumer<String,byte[]> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeRead() |
void |
closeWrite() |
hudson.remoting.Capability |
getRemoteCapability() |
void |
setup(hudson.remoting.AbstractByteArrayCommandTransport.ByteArrayReceiver byteArrayReceiver) |
void |
writeBlock(hudson.remoting.Channel channel,
byte[] bytes) |
public static final Logger LOGGER
public void writeBlock(hudson.remoting.Channel channel,
byte[] bytes)
throws IOException
writeBlock in class hudson.remoting.AbstractByteArrayCommandTransportIOExceptionpublic void setup(@Nonnull hudson.remoting.AbstractByteArrayCommandTransport.ByteArrayReceiver byteArrayReceiver)
setup in class hudson.remoting.AbstractByteArrayCommandTransportpublic hudson.remoting.Capability getRemoteCapability()
throws IOException
getRemoteCapability in class hudson.remoting.CommandTransportIOExceptionpublic void closeWrite()
throws IOException
closeWrite in class hudson.remoting.CommandTransportIOExceptionpublic void closeRead()
throws IOException
closeRead in class hudson.remoting.CommandTransportIOExceptionCopyright © 2004–2019. All rights reserved.