|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.cloud.EncogCloud
public class EncogCloud
Holds a connection to an Encog cloud.
| Field Summary | |
|---|---|
static String |
DEFAULT_SERVER
The default cloud server. |
| Constructor Summary | |
|---|---|
EncogCloud()
Construct an Encog cloud connection to the default server at: http://cloud.encog.com/ url. |
|
EncogCloud(String server)
Construct an Encog cloud connection. |
|
| Method Summary | |
|---|---|
CloudTask |
beginTask(String name)
Begin a task with the specified name. |
void |
connect(String uid,
String pwd)
Connect to the Encog cloud. |
String |
constructService(String service)
Construct a string that connects to the specified service. |
String |
getSession()
|
boolean |
isConnected()
|
void |
logout()
Logout of the specified session. |
void |
validateSession(boolean failOnError)
Validate the session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_SERVER
| Constructor Detail |
|---|
public EncogCloud()
public EncogCloud(String server)
server - The server to connect to.| Method Detail |
|---|
public CloudTask beginTask(String name)
name - The name of the task to begin.
public void connect(String uid,
String pwd)
uid - The user id.pwd - The password.public String constructService(String service)
service - The service to connect to.
public String getSession()
public boolean isConnected()
public void logout()
public void validateSession(boolean failOnError)
failOnError - True if an exception should be thrown on error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||