public class KafkaByteBufferCommandTransport
extends hudson.remoting.AbstractByteBufferCommandTransport
| Constructor and Description |
|---|
KafkaByteBufferCommandTransport(hudson.remoting.Capability remoteCapability,
String topic,
String key,
org.apache.kafka.clients.producer.Producer<String,ByteBuffer> producer,
org.apache.kafka.clients.consumer.Consumer<String,ByteBuffer> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeRead() |
void |
closeWrite() |
hudson.remoting.Capability |
getRemoteCapability() |
protected void |
write(ByteBuffer header,
ByteBuffer data) |
public KafkaByteBufferCommandTransport(hudson.remoting.Capability remoteCapability,
String topic,
String key,
org.apache.kafka.clients.producer.Producer<String,ByteBuffer> producer,
org.apache.kafka.clients.consumer.Consumer<String,ByteBuffer> consumer)
protected void write(ByteBuffer header, ByteBuffer data) throws IOException
write in class hudson.remoting.AbstractByteBufferCommandTransportIOExceptionpublic 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–2018. All rights reserved.