ConneX_Help.pdf - 第64页
I n terfaces Conne X ex pose s the fo ll o w i ng G rap hQL in terf ac e s : No ne

payload
(
[Byte!]
) The message payload in raw bytes.
payloadAsString
(
String
)The message payload converted to a
UTF8
string.
Name Description
MessageModelCollectionSegment
Represents a collection of MessageModel (used in pagination).
Fields
Name Description
items
(
[MessageModel]
) The items in the current page.
pageInfo
(
CollectionSegmentInfo!
)Information to aid in pagination.
totalCount
(
Int!
) The total message count for the query.
ProgrammerModel
Represents a programmer connected to ConneX.
Fields
Name Description
programmerId
(
Int!
) The database key for the programmer.
entity
(
Entity
) The associated entity for this programmer.
handler
(
Handler
) The associated handler for this programmer.
adapters
(
[AdapterModel]
) A collection of adapters associated with this programmer.
ipAddress
(
String
) The IP address of the programmer.
programmerType
(
ProgrammerType!
)The type of programmer.

Interfaces
ConneX exposes the following GraphQL interfaces:
None

Enums
ConneX exposes the following GraphQL enums:
AdapterState
Represents the different state an adapter can be in.
Values Description
NOT_INSERTED Adapter is not inserted.
INSERTED Adapter is inserted.
VALIDATED Adapter is inserted and validated.
VALIDATE_FAILEDAdapter validation failed.
UNKNOWN Adapter state is unknown.
POWER_FAULT Adapter experienced a power fault.
EntityType
Represents the different types an entity can represent.
Values Description
HANDLER Represents a PSV system.
PROGRAMMERRepresents a programmer (e.g. LumenX or FlashCORE).
ADAPTER Represents a programmer adapter.
JOB Represents a programming job.
HandlerType
Represents the different types a PSV system object can be.
Values Description
DESKTOPRepresents a desktop programming system.
PSV2800 Represents a PSV2800 programming system.
PSV3000 Represents a PSV3000 programming system.
PSV5000 Represents a PSV5000 programming system.
PSV7000 Represents a PSV7000 programming system.
ProgrammerType
Represents the different types a programmer object can be.
Values Description
FLASH_CORERepresents a FlashCORE III programmer.
LUMEN_X Represents a LumenX programmer.
SortEnumType
Represents the different types of sorting that can be applied when filtering.
ValuesDescription
ASC Sort the values in ascending order.
DESC Sort the values in descending order.