|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface SocketInitializer
Common interface for objects that establish a connection with a remote socket.
| Method Summary | |
|---|---|
void |
close()
Close this initializer. |
String |
getName()
Get the name given to this initializer. |
void |
initializeSocket(SocketWrapper socketWrapper)
Initialize the underlying socket client, by starting a Timer and a corresponding
TimerTask until a specified amount of time has passed. |
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. |
| Method Detail |
|---|
void initializeSocket(SocketWrapper socketWrapper)
Timer and a corresponding
TimerTask until a specified amount of time has passed.
socketWrapper - the socket wrapper to initialize.void close()
boolean isSuccessfull()
boolean isClosed()
String getName()
void setName(String name)
name - the name as a string.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||