org.jppf.client
Interface ClassServerDelegate

All Superinterfaces:
ClientConnectionHandler, ClientConnectionStatusHandler, Runnable
All Known Implementing Classes:
AbstractClassServerDelegate, ClassServerDelegateImpl, JcaClassServerDelegate

public interface ClassServerDelegate
extends Runnable, ClientConnectionHandler

Interface for all class server clients.

Author:
Laurent Cohen

Method Summary
 void close()
          Close the socket connection.
 String getName()
          Get the name of this delegate.
 boolean isClosed()
          Determine whether the socket connection is closed
 void setName(String name)
          Set the name of this delegate.
 
Methods inherited from interface java.lang.Runnable
run
 
Methods inherited from interface org.jppf.client.ClientConnectionHandler
getSocketClient, init, initSocketClient
 
Methods inherited from interface org.jppf.client.event.ClientConnectionStatusHandler
addClientConnectionStatusListener, getStatus, removeClientConnectionStatusListener, setStatus
 

Method Detail

isClosed

boolean isClosed()
Determine whether the socket connection is closed

Returns:
true if the socket connection is closed, false otherwise

close

void close()
Close the socket connection.

Specified by:
close in interface ClientConnectionHandler

getName

String getName()
Get the name of this delegate.

Returns:
the name as a string.

setName

void setName(String name)
Set the name of this delegate.

Parameters:
name - the name as a string.


Copyright © 2005-2010 JPPF Team.