public class PeerConnClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
PeerConnClient()
Constructs a new client to invoke service methods on network.
|
PeerConnClient(PeerConnClientConfiguration clientConfiguration)
Constructs a new network client using the client configuration to access network.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PeerConnIdRequest request)
Accept the apply of the specified peer conn.
|
void |
closeSyncDns(SyncDnsRequest request)
Open sync dns the specified peer conn.
|
CreatePeerConnResponse |
createPeerConn(CreatePeerConnRequest request)
Create a peer connection with the specified options.
|
GetPeerConnResponse |
getPeerConn(GetPeerConnRequest request)
Get the detail information of specified peer conn.
|
ListPeerConnResponse |
listPeerConn(ListPeerConnRequest request) |
void |
modifyBandwith(ModifyBandwidthRequest request)
Modify bandwith for the specified peer conn.
|
void |
modifyPeerConn(ModifyPeerConnRequest request)
Modifying the specified peer conn.
|
void |
openSyncDns(SyncDnsRequest request)
Open sync dns the specified peer conn.
|
void |
purchaseReserved(PurchaseReservedPeerConnRequest request)
PrchaseReserved for the specified peer conn.
|
void |
reject(PeerConnIdRequest request)
Reject the apply of the specified peer conn.
|
void |
release(PeerConnIdRequest request)
Release the specified peer conn.
|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic PeerConnClient()
public PeerConnClient(PeerConnClientConfiguration clientConfiguration)
clientConfiguration - The network client configuration options controlling how this client
connects to network (e.g. proxy settings, retry counts, etc).public CreatePeerConnResponse createPeerConn(CreatePeerConnRequest request)
request - The request containing all options for creating a peer connection.BceClientExceptionpublic ListPeerConnResponse listPeerConn(ListPeerConnRequest request)
public GetPeerConnResponse getPeerConn(GetPeerConnRequest request)
request - The request of the network.public void modifyPeerConn(ModifyPeerConnRequest request)
request - The request containing all options for modifying the peer conn;public void accept(PeerConnIdRequest request)
request - The request containing all options for accepting apply the peer conn;public void reject(PeerConnIdRequest request)
request - The request containing all options for rejecting apply the peer conn;public void release(PeerConnIdRequest request)
request - The request containing all options for releasing the peer conn;public void modifyBandwith(ModifyBandwidthRequest request)
request - The request containing all options for releasing the peer conn;public void purchaseReserved(PurchaseReservedPeerConnRequest request)
request - The request containing all options for releasing the peer conn;public void openSyncDns(SyncDnsRequest request)
request - The request containing all options for releasing the peer conn;public void closeSyncDns(SyncDnsRequest request)
request - The request containing all options for releasing the peer conn;Copyright © 2020. All rights reserved.