| Package | Description |
|---|---|
| org.yamcs.client | |
| org.yamcs.client.base |
Base implementation for Yamcs HTTP client connectivity.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnauthorizedException |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionListener.connectionFailed(ClientException exception)
Called when the initial connection to Yamcs has failed, e.g. the maximum number of retry attempts has exceeded.
|
| Modifier and Type | Method and Description |
|---|---|
void |
YamcsClient.connect(String accessToken,
boolean bypassUpCheck)
Establish a live communication channel using a previously acquired access token.
|
void |
YamcsClient.connect(String username,
char[] password)
Login to the server with user/password credential, and establish a live communication channel.
|
void |
YamcsClient.connectAnonymously()
Establish a live communication channel without logging in to the server.
|
void |
YamcsClient.connectWithKerberos() |
void |
YamcsClient.pollServer()
Polls the server, to see if it is ready.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<byte[]> |
HttpClient.doAsyncRequest(String url,
io.netty.handler.codec.http.HttpMethod httpMethod,
byte[] body) |
CompletableFuture<byte[]> |
HttpClient.doAsyncRequest(String url,
io.netty.handler.codec.http.HttpMethod httpMethod,
byte[] body,
io.netty.handler.codec.http.HttpHeaders extraHeaders) |
CompletableFuture<Void> |
HttpClient.doBulkReceiveRequest(String url,
io.netty.handler.codec.http.HttpMethod httpMethod,
byte[] body,
BulkRestDataReceiver receiver)
Perform a request that potentially retrieves large amount of data.
|
CompletableFuture<Void> |
HttpClient.doBulkRequest(String url,
io.netty.handler.codec.http.HttpMethod httpMethod,
String body,
BulkRestDataReceiver receiver) |
CompletableFuture<BulkRestDataSender> |
HttpClient.doBulkSendRequest(String url,
io.netty.handler.codec.http.HttpMethod httpMethod) |
void |
RestClient.login(String username,
char[] password) |
void |
HttpClient.login(String tokenUrl,
String username,
char[] password) |
void |
RestClient.loginWithAuthorizationCode(String authorizationCode) |
void |
HttpClient.loginWithAuthorizationCode(String tokenUrl,
String authorizationCode) |
static int |
RestClient.readVarInt32(ByteBuffer bb) |
void |
BulkRestDataReceiver.receiveData(byte[] data)
called when receiving data.
|
void |
HttpClient.refreshAccessToken() |
void |
BulkRestDataSender.sendData(byte[] data)
send the next chunk of data.
|
void |
BulkRestDataSender.sendData(io.netty.buffer.ByteBuf buf) |
Copyright © 2020 Space Applications Services. All rights reserved.