plushy

Messages

plushy

Messages in Plush

The first two columns list the message type, and whether or not it is a request (coming from the controller) or a response (from the clients). The remaining seven columns document how the header fields are interpreted.

Message Type Context Int 1 Int 2 Int 3 String 1 String 2 String 3 Payload
File Transfer Request File transfer type File Transfer ID * * * * *
File Transfer Response File transfer type File Transfer ID * * * * *
File Transfer Default File Transfer Method File Transfer Type = 1 File Transfer ID Destination Path File Contents
File Transfer (Default) Response File transfer type (1) File Transfer ID FileTransferMethod::MINOR_SUCCESS || FileTransferMethod::MINOR_FAILURE If fail, an error string
File Transfer Initiation Response File Transfer Type (any) File Transfer ID FileTransferMethod::MINOR_SUCCESS || FileTransferMethod::MINOR_FAILURE If fail, an error string
File Transfer Initiation Request 0 File Transfer ID File Transfer Type (of real transfer) Destination path Source Path Component XML
Experiment Controller Initiation Request ExperimentController::MSG_NEW Experiment Controller Type Component XML
Experiment Controller Generic Response ExperimentController::MSG_.... Message::SUCCESS || Message::FAILURE Experiment Controller Type If Failure, an error string
Experiment Controller Opaque Message ExperimentController::MSG_OPAQUE * * Experiment Controller Type * * *
Experiment Controller Termination Request ExperimentController::MSG_DELETE Experiment Controller Type
Experiment Controller Attach Request ExperimentController::MSG_ATTACH Experiment Controller Type Project name
Experiment Controller Detach Request ExperimentController::MSG_DETACH Experiment Controller Type Project Name
Experiment Controller Project Data Request ExperimentController::MSG_GET_PROJECT Project Name
Experiment Controller Project Data (Response or Message) ExperimentController::MSG_PROJECT If response, requested project name Project Data XML
Resource Directory Principal Request ResourceDirectory::MSG_GET_PRINCIPAL Request ID Resource Name (opt, req if capability name is provided) Capability Name (opt)
Resource Directory Principal Discovery Notification ResourceDirectory::MSG_ADD_PRINCIPAL Principal Data (XML)
Resource Directory Principal Renewal Request ResourceDirectory::MSG_RENEW_PRINCIPAL Request ID Resource Name (opt, req if capability name is provided) Capability Name (opt) Principal Data (opt -- for id)
Resource Directory Resource Query ResourceDirectory::MSG_GET_RESOURCE Request ID Resource Name
Resource Directory Resource Discovery Notification ResourceDirectory::MSG_ADD_RESOURCE Request ID Resource Data (XML)
Resource Directory Principal Data ResourceDirectory::MSG_PRINCIPAL Request ID, or 0 Principal Data (XML)
Resource Directory Resource Data ResourceDirectory::MSG_RESOURCE Request ID, or 0 Resource Data (XML)
Update Request
Update Response <node> Status XML
Query Software Request Software Install ID Package name Type string Component XML
Query Software Response Software Install ID Message::SUCCESS || Message::FAILURE Version string, if successful
Install Software Request Software Install ID Package name Type string Component XML
Install Software Response Software Install ID Message::SUCCESS || Message::FAILURE
Process Request Process::MSG_SIGNAL PID Signal ID
Process Request Process::MSG_WRITE_DATA PID Data
Process Request Process::MSG_TERMINATE
Process Response Process::MSG_EVENT Message type (Process::MINOR_xxxx) PID Process XML
Process Response Process::MSG_OUTPUT PID char output[]
Process Response Process::MSG_ERRPUT
Process Response Process::MSG_SIGNAL PID Message::SUCCESS || Message::FAILURE If fail, an error string
Process Response Process::MSG_WRITE_DATA PID Message::SUCCESS || Message::FAILURE If fail, an error string
Process Response Process::MSG_TERMINATE
Execute Request Component XML
Execute Response Message::SUCCESS || Message::FAILURE If fail, an error string
Prepare Request ConfigNode XML
Prepare Response Message::SUCCESS || Message::FAILURE If fail, an error string If success, an updated ConfigNode XML
Terminate Client Request