Class SeSeConnection
java.lang.Object
|
+----SeSeConnection
- public class SeSeConnection
- extends Object
SeSeConnection: the main part of the API which is used by the client application
to communicate with the server
-
SeSeConnection(String, String, String, URL)
- parameters clientID: the ID of the client
clientSkFile the name of the client's Secret Key file name
serverPkFile the name of the server's Public Key file name
URL is the url of the server
-
getValue(String)
- returns the value of given field
-
PostObject(String)
- Flushes the request to the server at the given URI
-
registerRequest(String)
- registers the demands of fields
-
registerRequest(String, String)
- registers object of request, and parameters
SeSeConnection
public SeSeConnection(String clientID,
String clientSkFile,
String serverPkFile,
URL url)
- parameters clientID: the ID of the client
clientSkFile the name of the client's Secret Key file name
serverPkFile the name of the server's Public Key file name
URL is the url of the server
registerRequest
public void registerRequest(String name,
String value)
- registers object of request, and parameters
registerRequest
public void registerRequest(String name)
- registers the demands of fields
PostObject
public void PostObject(String URI)
- Flushes the request to the server at the given URI
getValue
public String getValue(String name)
- returns the value of given field