public interface JPPFClientConnection extends ClientConnectionStatusHandler, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Shutdown this connection and release all the resources it is using.
|
JPPFConnectionPool |
getConnectionPool()
Get the pool this connection belongs to.
|
String |
getConnectionUuid()
Get the unique ID for this connection and its two channels.
|
String |
getDriverUuid()
Get the unique identifier of the remote driver.
|
String |
getHost()
Get the driver's host name or ip address.
|
String |
getName()
Get the name assigned to this client connection.
|
int |
getPort()
Get the port number on which the dirver is listeneing for connections.
|
int |
getPriority()
Get the priority assigned to this connection.
|
JPPFSystemInformation |
getSystemInfo()
Get the system information for the remote driver this connection refers to.
|
boolean |
isClosed()
Determine whether this connection was closed.
|
default boolean |
isLocal()
Determine whether this connection is local, that is, whether it executes jobs in the local JVM.
|
boolean |
isSSLEnabled()
Determines if this connection is over SSL.
|
addClientConnectionStatusListener, getStatus, removeClientConnectionStatusListener
int getPriority()
void close()
close
in interface AutoCloseable
boolean isClosed()
true
if the connection is closed, false
otherwise.String getName()
boolean isSSLEnabled()
true
if this is an SSL connection, false
otherwise.int getPort()
String getDriverUuid()
JPPFSystemInformation getSystemInfo()
JPPFSystemInformation
instance.String getConnectionUuid()
JPPFConnectionPool getConnectionPool()
JPPFConnectionPool
instance.default boolean isLocal()
true
if this connection is local, false
otherwise.Copyright © 2005-2019 JPPF Team.