|
||||||||||
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 WsmoConnection
s could be handled
NonExistingEntryException
- if WsmoSource
instance with the given identifier does not existint 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 WsmoConnection
s could be handled
NonExistingEntryException
- if WsmoSource
instance with the given identifier does not exist
AuthenticationFailedException
- if user was not authenticated with these credentialsvoid 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 |