org.dflib.jjava.jupyter.messages.request.IsCompleteRequest Maven / Gradle / Ivy
The newest version!
package org.dflib.jjava.jupyter.messages.request;
import org.dflib.jjava.jupyter.messages.ContentType;
import org.dflib.jjava.jupyter.messages.MessageType;
import org.dflib.jjava.jupyter.messages.RequestType;
import org.dflib.jjava.jupyter.messages.reply.IsCompleteReply;
public class IsCompleteRequest implements ContentType, RequestType {
public static final MessageType MESSAGE_TYPE = MessageType.IS_COMPLETE_REQUEST;
public static final MessageType REPLY_MESSAGE_TYPE = MessageType.IS_COMPLETE_REPLY;
@Override
public MessageType getType() {
return MESSAGE_TYPE;
}
@Override
public MessageType getReplyType() {
return REPLY_MESSAGE_TYPE;
}
protected final String code;
public IsCompleteRequest(String code) {
this.code = code;
}
public String getCode() {
return code;
}
}