MCPcopy Create free account
hub / github.com/GPUOpen-Tools/GPU-Reshape / OnResolve

Method OnResolve

Source/Libraries/Bridge/Source/RemoteClientBridge.cpp:117–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void RemoteClientBridge::OnResolve(const AsioHostResolverClientRequest::ResolveResponse &response) {
118 MessageStream stream;
119
120 MessageStreamView view(stream);
121
122 // Push message
123 auto* message = view.Add<HostResolvedMessage>();
124 message->accepted = response.found;
125
126 memoryBridge.GetOutput()->AddStream(stream);
127
128 // Commit all inbound streams if requested
129 if (commitOnAppend) {
130 memoryBridge.Commit();
131 }
132}
133
134void RemoteClientBridge::OnDiscovery(const AsioRemoteServerResolverDiscoveryRequest::Response &response) {
135 // Entry stream

Callers

nothing calls this directly

Calls 3

AddStreamMethod · 0.80
GetOutputMethod · 0.45
CommitMethod · 0.45

Tested by

no test coverage detected