|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Crack
This interface defines the methods on the server that will be called by the client. All communication between client and serverare mediated via this interface. It has only on implementing class and requires only one.
| Method Summary | |
|---|---|
void |
elementSuccess(java.lang.String element)
This method tells the server that a password has been correctly identified |
CrackProtocolFactory |
getProtocolFactory()
Since protocols are dependent upon libraries that cannot be serialized a crackProtocolFactory is used to tell the client what type of protocol it should use. |
CrackWorkUnit |
getWorkUnit()
This method gets a workUnit from the server, which contains a portion of the password domain and the necessary logic to track progress in testing segments of the domain |
boolean |
submitWorkUnit(CrackWorkUnit wu)
When all the elements in a WorkUnit have been tested this method passes the WorkUnit back to the server so it can mark the elements inside the WorkUnit as checked. |
| Method Detail |
|---|
CrackProtocolFactory getProtocolFactory()
throws java.rmi.RemoteException
java.rmi.RemoteException - this exception signals a communication error
CrackWorkUnit getWorkUnit()
throws java.rmi.RemoteException
java.rmi.RemoteException - this exception signals a communication error
void elementSuccess(java.lang.String element)
throws java.rmi.RemoteException
element - This element is typically a password, but any sort of data could be stored in the string, if someone wanted to use it with a more creative protocol
java.rmi.RemoteException - this exception signals a communication error
boolean submitWorkUnit(CrackWorkUnit wu)
throws java.rmi.RemoteException
wu - the completed workUnit
java.rmi.RemoteException - this exception signals a communication error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||