Package org.pentaho.di.www
Class SocketRepositoryEntry
java.lang.Object
org.pentaho.di.www.SocketRepositoryEntry
This entry contains a server socket as well as detailed about the process that is using it.
- Author:
- matt
-
Constructor Summary
ConstructorDescriptionSocketRepositoryEntry
(int port, ServerSocket serverSocket, boolean inUse, String user) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getPort()
getUser()
int
hashCode()
boolean
isInUse()
void
setInUse
(boolean inUse) void
setPort
(int port) void
setServerSocket
(ServerSocket serverSocket) void
-
Constructor Details
-
SocketRepositoryEntry
- Parameters:
port
-serverSocket
-inUse
-user
-
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getPort
public int getPort()- Returns:
- the port
-
setPort
public void setPort(int port) - Parameters:
port
- the port to set
-
getServerSocket
- Returns:
- the serverSocket
-
setServerSocket
- 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
- Returns:
- the user
-
setUser
- Parameters:
user
- the user to set
-