Async protocol handler interface
Bases: object
Async protocol handler
Async protocol handler init
Bases: object
Async protocol data handler
Async protocol data handler init
get data handler
connection must support the follow: write(data) : function : write data flush() : function : flush data close() : function : close the connection
Parameters: | connection (file) – connection |
---|---|
Return type: | AsyncProtocolHandler.DataHandler |
Returns: | A logical data handler for this connection |
Async server adapter factory
Bases: object
async server adapter factory
async server adapter factory init
get async server adapter
Parameters: |
|
---|---|
Return type: | vmware.vapi.protocol.server.transport.async_protocol_handler.AsyncProtocolHandler |
Returns: | Async server adapter |
Msg based protocol handler
Bases: vmware.vapi.protocol.server.transport.async_protocol_handler.AsyncProtocolHandler
Message based protocol handler
Message based protocol handler init :type api_handler: vmware.vapi.protocol.server.api_handler.AplHandler :param api_handler: api handler instance
Bases: vmware.vapi.protocol.server.transport.async_protocol_handler.DataHandler
Message based protocol data handler
Message based protocol data handler init
request state changed
Parameters: |
|
---|
get async api handler
Parameters: | api_handler (vmware.vapi.protocol.server.api_handler.AplHandler) – api handler instance |
---|---|
Return type: | vmware.vapi.protocol.server.async_api_handler_adapter.PooledAsyncApiHandlerAdapter |
Returns: | Threaded async api handler |