Interface MoodleService
- All Known Implementing Classes:
MoodleServiceProvider
public interface MoodleService
Represents the client side of a connection to a moodle server.
-
Method Summary
Modifier and TypeMethodDescriptionAttempts to establish a connection to the server.
-
Method Details
-
connect
MoodleClient connect(String website, String username, Password password) throws IOException, MoodleAuthFailedException Attempts to establish a connection to the server.- Parameters:
website
- the websiteusername
- the usernamepassword
- the password- Returns:
- true, if successful
- Throws:
IOException
- Signals that an I/O exception has occurred.MoodleAuthFailedException
-