All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dflib.jjava.jupyter.messages.request.CommInfoRequest Maven / Gradle / Ivy

The newest version!
package org.dflib.jjava.jupyter.messages.request;

import com.google.gson.annotations.SerializedName;
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.CommInfoReply;

public class CommInfoRequest implements ContentType, RequestType {
    public static final MessageType MESSAGE_TYPE = MessageType.COMM_INFO_REQUEST;
    public static final MessageType REPLY_MESSAGE_TYPE = MessageType.COMM_INFO_REPLY;

    @Override
    public MessageType getType() {
        return MESSAGE_TYPE;
    }

    @Override
    public MessageType getReplyType() {
        return REPLY_MESSAGE_TYPE;
    }

    /**
     * An optional target name
     */
    @SerializedName("target_name")
    protected final String targetName;

    public CommInfoRequest(String targetName) {
        this.targetName = targetName;
    }

    public String getTargetName() {
        return targetName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy