Documentation

JavaClientService implements IJavaClientService

Class JavaClientService

Table of Contents

Interfaces

IJavaClientService

Properties

$connection  : Client
$host  : string
$path  : string
$port  : int
$serializer  : Serializer

Methods

__construct()  : mixed
JavaClientService constructor.
connect()  : IJavaClientService
getResponse()  : IJavaClientEntity
This method call Java side for get status of the processes
sendRequest()  : bool
Send HTTP request to specify host, port and path.
getUri()  : string|null
This method generate the uri from existing data. Before call this, call the connect method.

Properties

Methods

__construct()

JavaClientService constructor.

public __construct(Serializer $serializer) : mixed
Parameters
$serializer : Serializer

sendRequest()

Send HTTP request to specify host, port and path.

public sendRequest(IJavaClientEntity $entity, bool $async) : bool
Parameters
$entity : IJavaClientEntity
$async : bool
Return values
bool

This indicates the request is successful or not

getUri()

This method generate the uri from existing data. Before call this, call the connect method.

private getUri() : string|null
Return values
string|null

        
On this page

Search results