RemoteDownstreamService
in package
Uses
TNCLogger, TAsync
Class RemoteDownstreamService
Table of Contents
- $ALERT : mixed
- $CRITICAL : mixed
- $DEBUG : mixed
- $EMERGENCY : mixed
- $ERROR : mixed
- $INFO : mixed
- $NOTICE : mixed
- $SETUP_TIME_LIMIT : string
- $WARNING : mixed
- $circleRequest : CircleRequest
- $configService : ConfigService
- $federatedEventService : FederatedEventService
- $memberRequest : MemberRequest
- $remoteService : RemoteService
- __construct() : mixed
- RemoteDownstreamService constructor.
- alert() : void
- async() : void
- Hacky way to async the rest of the process without keeping client on hold.
- asyncObj() : void
- debug() : void
- e() : void
- emergency() : void
- exception() : void
- incomingEvent() : void
- log() : void
- logger() : LoggerInterface
- notice() : void
- requestedEvent() : void
- t() : void
- throwable() : void
- warning() : void
- confirmCircle() : void
- confirmContent() : void
- confirmMember() : void
- confirmOriginEvent() : void
- verifyCircle() : bool
- verifyMember() : bool
Properties
$ALERT
public
static mixed
$ALERT
= 3
$CRITICAL
public
static mixed
$CRITICAL
= 3
$DEBUG
public
static mixed
$DEBUG
= 0
$EMERGENCY
public
static mixed
$EMERGENCY
= 4
$ERROR
public
static mixed
$ERROR
= 3
$INFO
public
static mixed
$INFO
= 1
$NOTICE
public
static mixed
$NOTICE
= 1
$SETUP_TIME_LIMIT
public
static string
$SETUP_TIME_LIMIT
= 'async_time_limit'
$WARNING
public
static mixed
$WARNING
= 2
$circleRequest
private
CircleRequest
$circleRequest
$configService
private
ConfigService
$configService
$federatedEventService
private
FederatedEventService
$federatedEventService
$memberRequest
private
MemberRequest
$memberRequest
$remoteService
private
RemoteService
$remoteService
Methods
__construct()
RemoteDownstreamService constructor.
public
__construct(CircleRequest $circleRequest, MemberRequest $memberRequest, FederatedEventService $federatedEventService, RemoteService $remoteService, ConfigService $configService) : mixed
Parameters
- $circleRequest : CircleRequest
- $memberRequest : MemberRequest
- $federatedEventService : FederatedEventService
- $remoteService : RemoteService
- $configService : ConfigService
Return values
mixed —alert()
public
alert(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $message : string
- $trace : bool = false
- $serializable : array<string|int, mixed> = []
Return values
void —async()
Hacky way to async the rest of the process without keeping client on hold.
public
async([string $result = '' ]) : void
Parameters
- $result : string = ''
Return values
void —asyncObj()
public
asyncObj(JsonSerializable $obj) : void
Parameters
- $obj : JsonSerializable
Return values
void —debug()
public
debug(string $message[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $message : string
- $serializable : array<string|int, mixed> = []
Return values
void —e()
public
e(Exception $e[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $e : Exception
- $serializable : array<string|int, mixed> = []
Return values
void —emergency()
public
emergency(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $message : string
- $trace : bool = false
- $serializable : array<string|int, mixed> = []
Return values
void —exception()
public
exception(Exception $e[, int|array<string|int, mixed> $level = 3 ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $e : Exception
- $level : int|array<string|int, mixed> = 3
- $serializable : array<string|int, mixed> = []
Return values
void —incomingEvent()
public
incomingEvent(FederatedEvent $event) : void
Parameters
- $event : FederatedEvent
Return values
void —log()
public
log(int $level, string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $level : int
- $message : string
- $trace : bool = false
- $serializable : array<string|int, mixed> = []
Return values
void —logger()
public
logger() : LoggerInterface
Return values
LoggerInterface —notice()
public
notice(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $message : string
- $trace : bool = false
- $serializable : array<string|int, mixed> = []
Return values
void —requestedEvent()
public
requestedEvent(FederatedEvent $event) : void
Parameters
- $event : FederatedEvent
Tags
Return values
void —t()
public
t(Throwable $t[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $t : Throwable
- $serializable : array<string|int, mixed> = []
Return values
void —throwable()
public
throwable(Throwable $t[, int $level = 3 ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $t : Throwable
- $level : int = 3
- $serializable : array<string|int, mixed> = []
Return values
void —warning()
public
warning(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
- $message : string
- $trace : bool = false
- $serializable : array<string|int, mixed> = []
Return values
void —confirmCircle()
private
confirmCircle(FederatedEvent $event) : void
Parameters
- $event : FederatedEvent
Tags
Return values
void —confirmContent()
private
confirmContent(FederatedEvent $event[, bool $full = true ]) : void
Parameters
- $event : FederatedEvent
- $full : bool = true
Tags
Return values
void —confirmMember()
private
confirmMember(FederatedEvent $event, bool $full) : void
Parameters
- $event : FederatedEvent
- $full : bool
-
// TODO: Check IFederatedItemMember*
Tags
Return values
void —confirmOriginEvent()
private
confirmOriginEvent(FederatedEvent $event) : void
Parameters
- $event : FederatedEvent
Tags
Return values
void —verifyCircle()
private
verifyCircle(FederatedEvent $event) : bool
Parameters
- $event : FederatedEvent
Tags
Return values
bool —verifyMember()
private
verifyMember(FederatedEvent $event, bool $full) : bool
Parameters
- $event : FederatedEvent
- $full : bool