mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-30 00:21:01 +00:00
Implement drains and small fixes
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package io.xpipe.beacon.exchange.cli;
|
||||
|
||||
import io.xpipe.beacon.RequestMessage;
|
||||
import io.xpipe.beacon.ResponseMessage;
|
||||
import io.xpipe.beacon.exchange.MessageExchange;
|
||||
import lombok.Builder;
|
||||
import lombok.NonNull;
|
||||
import lombok.Value;
|
||||
import lombok.extern.jackson.Jacksonized;
|
||||
|
||||
public class ReadDrainExchange implements MessageExchange {
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return "readDrain";
|
||||
}
|
||||
|
||||
@Jacksonized
|
||||
@Builder
|
||||
@Value
|
||||
public static class Request implements RequestMessage {
|
||||
@NonNull
|
||||
String name;
|
||||
}
|
||||
|
||||
@Jacksonized
|
||||
@Builder
|
||||
@Value
|
||||
public static class Response implements ResponseMessage {}
|
||||
}
|
||||
@@ -41,6 +41,7 @@ module io.xpipe.beacon {
|
||||
RenameStoreExchange,
|
||||
RemoveStoreExchange,
|
||||
StoreAddExchange,
|
||||
ReadDrainExchange,
|
||||
WritePreparationExchange,
|
||||
WriteExecuteExchange,
|
||||
SelectExchange,
|
||||
|
||||
Reference in New Issue
Block a user