|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.comm.socket.AbstractSocketInitializer
public abstract class AbstractSocketInitializer
Common abstract superclass for objects that establish a connection with a remote socket.
| Field Summary | |
|---|---|
protected int |
attemptCount
Current number of connection attempts. |
protected boolean |
closed
Determine whether this socket initializer has been intentionally closed. |
protected String |
name
Name given to this initializer. |
protected Random |
rand
Used to compute a random start delay for this node. |
protected SocketWrapper |
socketWrapper
The socket wrapper to initialize. |
protected boolean |
successfull
Determines whether any connection attempt succeeded. |
| Constructor Summary | |
|---|---|
AbstractSocketInitializer()
|
|
| Method Summary | |
|---|---|
String |
getName()
Get the name given to this initializer. |
boolean |
isClosed()
Determine whether this socket initializer has been intentionally closed. |
boolean |
isSuccessfull()
Determine whether any connection attempt succeeded. |
void |
setName(String name)
Set the name given to this initializer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jppf.comm.socket.SocketInitializer |
|---|
close, initializeSocket |
| Field Detail |
|---|
protected boolean successfull
protected int attemptCount
protected SocketWrapper socketWrapper
protected Random rand
protected boolean closed
protected String name
| Constructor Detail |
|---|
public AbstractSocketInitializer()
| Method Detail |
|---|
public boolean isClosed()
isClosed in interface SocketInitializerSocketInitializer.isClosed()public boolean isSuccessfull()
isSuccessfull in interface SocketInitializerSocketInitializer.isSuccessfull()public String getName()
getName in interface SocketInitializerSocketInitializer.getName()public void setName(String name)
setName in interface SocketInitializername - the name as a string.SocketInitializer.setName(java.lang.String)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||