All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rks-yag.ipc.0.16.0.source-code.ipc.thrift Maven / Gradle / Ivy

There is a newer version: 0.18.3
Show newest version
namespace java com.github.yag.ipc

struct Prompt {
1: required string version
2: required binary body
}

struct ConnectRequest {
1: required string version
2: optional i64 requestTimeoutMs
3: optional map headers
4: required binary body
}

struct ConnectionAccepted {
1: required string connectionId
2: optional map headers
3: optional binary body
}

struct ConnectionRejected {
1: optional i32 code
2: required string message
}

union ConnectionResponse {
1: ConnectionAccepted accepted
2: ConnectionRejected rejected
}

struct RequestHeader {
1: required i64 callId
2: required string callType
3: required i32 contentLength
}


enum StatusCode {
OK = 0
PARTIAL_CONTENT = 1

CONNECTION_ERROR = -1
TIMEOUT = -2
NOT_FOUND = -3
INTERNAL_ERROR = -4
}

struct ResponseHeader {
1: required i64 callId
2: required StatusCode statusCode
3: required i32 contentLength
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy