Class VmSessionsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.VmSessionsServiceImpl
-
- All Implemented Interfaces:
Service
,VmSessionsService
public class VmSessionsServiceImpl extends ServiceImpl implements VmSessionsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.VmSessionsService
VmSessionsService.ListRequest, VmSessionsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description VmSessionsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmSessionsService.ListRequest
list()
Lists all user sessions for this virtual machine.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.VmSessionService
sessionService(String id)
Reference to the service that manages a specific session.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
VmSessionsServiceImpl
public VmSessionsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
list
public VmSessionsService.ListRequest list()
Description copied from interface:VmSessionsService
Lists all user sessions for this virtual machine. For example, to retrieve the session information for virtual machine `123` send a request like this: [source] ---- GET /ovirt-engine/api/vms/123/sessions ---- The response body will contain something like this: [source,xml] ----true 192.168.122.1 - Specified by:
list
in interfaceVmSessionsService
-
sessionService
public VmSessionService sessionService(String id)
Description copied from interface:VmSessionsService
Reference to the service that manages a specific session.- Specified by:
sessionService
in interfaceVmSessionsService
-
service
public Service service(String path)
Description copied from interface:VmSessionsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceVmSessionsService
-
-