// Path: src/java/VRE.Vridge.API/VRE.Vridge.API.Client/src/main/java/com/riftcat/vridge/api/client/java/control/ControlResponseCode.java
// public class ControlResponseCode {
// 
//     /// <summary>
//     /// API awaits connection at given endpoint.
//     /// </summary>
//     public static int OK = 0;
// 
//     /// <summary>
//     /// API is not available because of undefined reason.
//     /// </summary>
//     public static int NotAvailable = 1;
// 
//     /// <summary>
//     /// API is in use by another client
//     /// </summary>
//     public static int InUse = 2;
// 
//     /// <summary>
//     /// Client is trying to use something that requires API client to be updated to more recent version
//     /// </summary>
//     public static int ClientOutdated = 3;
// 
//     /// <summary>
//     /// VRidge needs to be updated or client is not following protocol
//     /// </summary>
//     public static int ServerOutdated = 4;
// 
// }


import com.riftcat.vridge.api.client.java.control.ControlResponseCode;
package com.riftcat.vridge.api.client.java.control.responses;


public class EndpointStatus extends ControlResponseHeader {

    public String Name;
    public String InUseBy;

    public EndpointStatus(String endpointName){
        this.Code = ControlResponseCode.OK;
        this.Name = endpointName;
    }

// Path: src/java/VRE.Vridge.API/VRE.Vridge.API.Client/src/main/java/com/riftcat/vridge/api/client/java/control/ControlResponseCode.java
// public class ControlResponseCode {
// 
//     /// <summary>
//     /// API awaits connection at given endpoint.
//     /// </summary>
//     public static int OK = 0;
// 
//     /// <summary>
//     /// API is not available because of undefined reason.
//     /// </summary>
//     public static int NotAvailable = 1;
// 
//     /// <summary>
//     /// API is in use by another client
//     /// </summary>
//     public static int InUse = 2;
// 
//     /// <summary>
//     /// Client is trying to use something that requires API client to be updated to more recent version
//     /// </summary>
//     public static int ClientOutdated = 3;
// 
//     /// <summary>
//     /// VRidge needs to be updated or client is not following protocol
//     /// </summary>
//     public static int ServerOutdated = 4;
// 
// }


// Path: src/java/VRE.Vridge.API/VRE.Vridge.API.Client/src/main/java/com/riftcat/vridge/api/client/java/control/responses/EndpointStatus.java
import com.riftcat.vridge.api.client.java.control.ControlResponseCode;

package com.riftcat.vridge.api.client.java.control.responses;


public class EndpointStatus extends ControlResponseHeader {

    public String Name;
    public String InUseBy;

    public EndpointStatus(String endpointName){
        this.Code = ControlResponseCode.OK;
        this.Name = endpointName;
    }

    public String codeString(){