org.jppf.client
Interface JPPFClientConnection

All Superinterfaces:
ClientConnectionStatusHandler
All Known Implementing Classes:
AbstractJPPFClientConnection, JPPFClientConnectionImpl, JPPFJcaClientConnection

public interface JPPFClientConnection
extends ClientConnectionStatusHandler

Interface for a client connection to a JPPF driver.

Author:
Laurent Cohen

Method Summary
 List<JPPFJob> close()
          Shutdown this client and retrieve all pending executions for resubmission.
 String getName()
          Get the name assigned tothis client connection.
 int getPriority()
          Get the priority assigned to this connection.
 void init()
          Initialize this client connection.
 void submit(JPPFJob job)
          Deprecated. job submissions should be performed via the JPPFClient directly.
 
Methods inherited from interface org.jppf.client.event.ClientConnectionStatusHandler
addClientConnectionStatusListener, getStatus, removeClientConnectionStatusListener, setStatus
 

Method Detail

init

void init()
Initialize this client connection.


submit

void submit(JPPFJob job)
            throws Exception
Deprecated. job submissions should be performed via the JPPFClient directly.

Submit the request to the server.

Parameters:
job - the job to execute remotely.
Throws:
Exception - if an error occurs while sending the request.

getPriority

int getPriority()
Get the priority assigned to this connection.

Returns:
a priority as an int value.

close

List<JPPFJob> close()
Shutdown this client and retrieve all pending executions for resubmission.

Returns:
a list of JPPFJob instances to resubmit.

getName

String getName()
Get the name assigned tothis client connection.

Returns:
the name as a string.


Copyright © 2005-2010 JPPF Team.