MCPcopy Index your code
hub / github.com/1c-syntax/Coverage41C / connect

Method connect

src/main/java/com/clouds42/DebugClient.java:116–124  ·  view source on GitHub ↗
(String password)

Source from the content-addressed store, hash-verified

114 }
115
116 public AttachDebugUIResult connect(String password) throws RuntimeDebugClientException {
117
118 RDBGAttachDebugUIRequest requestContent = ResponseFactory.eINSTANCE.createRDBGAttachDebugUIRequest();
119 requestContent.setCredentials(RuntimePresentationConverter.fromPresentation(password));
120 Request request = this.buildRequest(HttpMethod.POST, this.debugComponentUrl).param("cmd", "attachDebugUI");
121 RDBGAttachDebugUIResponse responseContent = AbstractDebugClient.performRuntimeHttpRequest(this, request, this.initRequest(requestContent), RDBGAttachDebugUIResponse.class);
122 assert responseContent != null;
123 return responseContent.getResult();
124 }
125
126 public boolean disconnect() throws RuntimeDebugClientException {
127 RDBGDetachDebugUIRequest requestContent = ResponseFactory.eINSTANCE.createRDBGDetachDebugUIRequest();

Callers 1

startSystemMethod · 0.80

Calls 3

buildRequestMethod · 0.95
initRequestMethod · 0.95

Tested by

no test coverage detected