Package org.serviceconnector.api.srv
Class SrvService
java.lang.Object
org.serviceconnector.api.srv.SrvService
- Direct Known Subclasses:
SrvPublishService,SrvSessionService
The Class SrvService. Represent of a service on backend server.
- Author:
- JTraber
-
Constructor Summary
ConstructorsConstructorDescriptionSrvService(String serviceName, int maxSessions, int maxConnections, IRequester requester) Instantiates a new srv service. -
Method Summary
Modifier and TypeMethodDescriptionintGets the max connections.intGets the max sessions.Gets the requester.Gets the service name.
-
Constructor Details
-
SrvService
Instantiates a new srv service.- Parameters:
serviceName- the service namemaxSessions- the max sessionsmaxConnections- the max connectionsrequester- the requester
-
-
Method Details
-
getRequester
Gets the requester.- Returns:
- the requester
-
getServiceName
Gets the service name.- Returns:
- the service name
-
getMaxSessions
public int getMaxSessions()Gets the max sessions.- Returns:
- the max sessions
-
getMaxConnections
public int getMaxConnections()Gets the max connections.- Returns:
- the max connections
-