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

org.snapscript.studio.agent.local.message.AttachResponse Maven / Gradle / Ivy

The newest version!
package org.snapscript.studio.agent.local.message;

import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;

public class AttachResponse implements Externalizable{

   private String process;
   
   public AttachResponse(){
      this(null);
   }
   
   public AttachResponse(String process) {
      this.process = process;
   }
   
   public String getProcess(){
      return process;
   }
   
   @Override
   public void writeExternal(ObjectOutput output) throws IOException {
      output.writeUTF(process);
   }

   @Override
   public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException {
      process = input.readUTF();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy