|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.peerconn.PeerConnClient
public class PeerConnClient
Provides the client for accessing the Baidu Cloud network Service peer conn part.
| Field Summary |
|---|
| Fields inherited from class com.baidubce.AbstractBceClient |
|---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.baidubce.AbstractBceClient |
|---|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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).| Method Detail |
|---|
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;
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||