org.pentaho.di.www
Class SocketRepositoryEntry

java.lang.Object
  extended by 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 Summary
SocketRepositoryEntry(int port, ServerSocket serverSocket, boolean inUse, String user)
           
 
Method Summary
 boolean equals(Object e)
           
 int getPort()
           
 ServerSocket getServerSocket()
           
 String getUser()
           
 int hashCode()
           
 boolean isInUse()
           
 void setInUse(boolean inUse)
           
 void setPort(int port)
           
 void setServerSocket(ServerSocket serverSocket)
           
 void setUser(String user)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketRepositoryEntry

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

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