|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WsmoSourceService
Provides functionality of a
WsmoSource remotely. An integer
identifier specifies which WsmoSource instance is used.
WsmoSource| Method Summary | |
|---|---|
void |
clearWarnings(int wsmoSourceId)
|
int |
getConnection(int wsmoSourceId)
Creates locally a new WsmoConnection for a given
WsmoSource and returns a unique integer identifier for later reference to this connection. |
int |
getConnectionAuth(int wsmoSourceId,
String user,
String pass)
Same as getConnection(int) but requires authentication |
void |
shutdown(int wsmoSourceId)
|
| Method Detail |
|---|
int getConnection(int wsmoSourceId)
throws ServiceLimitExceededException,
NonExistingEntryException
WsmoConnection for a given
WsmoSource and returns a unique integer identifier for later reference to this connection.
wsmoSourceId - integer identifier of existing WsmoSource instance
WsmoConnection
ServiceLimitExceededException - if no more WsmoConnections could be handled
NonExistingEntryException - if WsmoSource instance with the given identifier does not exist
int getConnectionAuth(int wsmoSourceId,
String user,
String pass)
throws ServiceLimitExceededException,
NonExistingEntryException,
AuthenticationFailedException
getConnection(int) but requires authentication
wsmoSourceId - integer identifier of existing WsmoSource instanceuser - String of the username part of the credentialspass - String of the password part of the credentials
WsmoConnection
ServiceLimitExceededException - if no more WsmoConnections could be handled
NonExistingEntryException - if WsmoSource instance with the given identifier does not exist
AuthenticationFailedException - if user was not authenticated with these credentials
void clearWarnings(int wsmoSourceId)
throws NonExistingEntryException
NonExistingEntryException
void shutdown(int wsmoSourceId)
throws NonExistingEntryException
NonExistingEntryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||