Package org.pentaho.di.www
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 Summary
Constructors Constructor Description SocketRepositoryEntry(int port, ServerSocket serverSocket, boolean inUse, String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Constructor Detail
-
SocketRepositoryEntry
public SocketRepositoryEntry(int port, ServerSocket serverSocket, boolean inUse, String user)
- Parameters:
port
-serverSocket
-inUse
-user
-
-
-
Method Detail
-
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
-
-