public class SessionStub extends com.vmware.vapi.internal.bindings.Stub implements Session
Session
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SessionStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SessionStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
PacketCaptureSession |
create(PacketCaptureRequest packetCaptureRequest)
Create an new packet capture session on given node with specified options
|
void |
create(PacketCaptureRequest packetCaptureRequest,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Create an new packet capture session on given node with specified options
|
void |
create(PacketCaptureRequest packetCaptureRequest,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create an new packet capture session on given node with specified options
|
PacketCaptureSession |
create(PacketCaptureRequest packetCaptureRequest,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create an new packet capture session on given node with specified options
|
PacketCaptureSession |
delete(java.lang.String sessionId)
Before calling this method, terminate any running capture session.
|
void |
delete(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Before calling this method, terminate any running capture session.
|
void |
delete(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Before calling this method, terminate any running capture session.
|
PacketCaptureSession |
delete(java.lang.String sessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Before calling this method, terminate any running capture session.
|
PacketCaptureSession |
get(java.lang.String sessionId)
Get the packet capture status information by session id.
|
void |
get(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Get the packet capture status information by session id.
|
void |
get(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the packet capture status information by session id.
|
PacketCaptureSession |
get(java.lang.String sessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the packet capture status information by session id.
|
PacketCaptureSession |
restart(java.lang.String sessionId)
Restart the packet capture session
|
void |
restart(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Restart the packet capture session
|
void |
restart(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart the packet capture session
|
PacketCaptureSession |
restart(java.lang.String sessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart the packet capture session
|
PacketCaptureSession |
terminate(java.lang.String sessionId)
Terminate the packet capture session by session id.
|
void |
terminate(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Terminate the packet capture session by session id.
|
void |
terminate(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Terminate the packet capture session by session id.
|
PacketCaptureSession |
terminate(java.lang.String sessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Terminate the packet capture session by session id.
|
public SessionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public SessionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public PacketCaptureSession create(PacketCaptureRequest packetCaptureRequest)
Session
Synchronous method overload. Result of the invocation will be reported as a method return value.
public PacketCaptureSession create(PacketCaptureRequest packetCaptureRequest, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(PacketCaptureRequest packetCaptureRequest, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(PacketCaptureRequest packetCaptureRequest, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public PacketCaptureSession delete(java.lang.String sessionId)
Session
Synchronous method overload. Result of the invocation will be reported as a method return value.
public PacketCaptureSession delete(java.lang.String sessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void delete(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public PacketCaptureSession get(java.lang.String sessionId)
Session
Synchronous method overload. Result of the invocation will be reported as a method return value.
public PacketCaptureSession get(java.lang.String sessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public PacketCaptureSession restart(java.lang.String sessionId)
Session
Synchronous method overload. Result of the invocation will be reported as a method return value.
public PacketCaptureSession restart(java.lang.String sessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void restart(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void restart(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public PacketCaptureSession terminate(java.lang.String sessionId)
Session
Synchronous method overload. Result of the invocation will be reported as a method return value.
public PacketCaptureSession terminate(java.lang.String sessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void terminate(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void terminate(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Session
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found