AirLay backend

HeightConnectionTask extends AirlayTask
in package

airlay-cli height_connection

Table of Contents

mainAction()  : void
abortWorkWithMessage()  : never
getDataSetTitle()  : string
parseFlagsFromParams()  : void
Parse command line arguments from array. Output default values if --help or -h argument specified.
requestConfirm()  : bool
byRelations()  : void
byStartId()  : void
handle()  : ObjectId|null
processMessage()  : void
sendToBuildHeightConnectionRabbitmq()  : void

Methods

abortWorkWithMessage()

protected abortWorkWithMessage(string $message) : never
Parameters
$message : string
Return values
never

getDataSetTitle()

protected getDataSetTitle(array<string|int, mixed>|DataSetEntity $dataSet) : string
Parameters
$dataSet : array<string|int, mixed>|DataSetEntity
Return values
string

parseFlagsFromParams()

Parse command line arguments from array. Output default values if --help or -h argument specified.

protected parseFlagsFromParams(Flags $flags[, array<string|int, mixed> $params = [] ]) : void
Parameters
$flags : Flags
$params : array<string|int, mixed> = []
Return values
void

requestConfirm()

protected requestConfirm(string $message) : bool
Parameters
$message : string
Return values
bool

handle()

private handle(DataSetEntity $dataSet, Height $connection[, array<string|int, mixed>|null $relations = null ][, MinKey|ObjectId|null $startId = null ]) : ObjectId|null
Parameters
$dataSet : DataSetEntity
$connection : Height
$relations : array<string|int, mixed>|null = null
$startId : MinKey|ObjectId|null = null
Return values
ObjectId|null

processMessage()

private processMessage(AMQPMessage $message, HeightConnectionBody $body) : void
Parameters
$message : AMQPMessage
$body : HeightConnectionBody
Return values
void

sendToBuildHeightConnectionRabbitmq()

private sendToBuildHeightConnectionRabbitmq(ObjectId $dataSetId[, ObjectId|null $startId = null ][, array<string|int, mixed>|null $relationsId = null ]) : void
Parameters
$dataSetId : ObjectId
$startId : ObjectId|null = null
$relationsId : array<string|int, mixed>|null = null
Return values
void

Search results