Class SocketRepositoryEntry

java.lang.Object
org.pentaho.di.www.SocketRepositoryEntry

public class SocketRepositoryEntry extends Object
This entry contains a server socket as well as detailed about the process that is using it.
Author:
matt
  • Constructor Details

    • SocketRepositoryEntry

      public SocketRepositoryEntry(int port, ServerSocket serverSocket, boolean inUse, String user)
      Parameters:
      port -
      serverSocket -
      inUse -
      user -
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object e)
      Overrides:
      equals in class Object
    • getPort

      public int getPort()
      Returns:
      the port
    • setPort

      public void setPort(int port)
      Parameters:
      port - the port to set
    • getServerSocket

      public ServerSocket getServerSocket()
      Returns:
      the serverSocket
    • setServerSocket

      public void setServerSocket(ServerSocket serverSocket)
      Parameters:
      serverSocket - the serverSocket to set
    • isInUse

      public boolean isInUse()
      Returns:
      the inUse
    • setInUse

      public void setInUse(boolean inUse)
      Parameters:
      inUse - the inUse to set
    • getUser

      public String getUser()
      Returns:
      the user
    • setUser

      public void setUser(String user)
      Parameters:
      user - the user to set