We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e79bfb4 commit ca21798Copy full SHA for ca21798
monitor.go
@@ -168,7 +168,22 @@ func (d *Server) hello(cmd string) {
168
}
169
170
func (d *Server) describe() {
171
-
+ if !d.initialized {
172
+ d.outputChan <- messageError("describe", "Monitor not STARTed")
173
+ return
174
+ }
175
+ var port_description *PortDescriptor
176
+ port_description, err := d.impl.Describe()
177
+ if err != nil {
178
+ d.outputChan <- messageError("hello", err.Error())
179
180
181
+ d.outputChan <- &message{
182
+ EventType: "describe",
183
+ Message: "OK",
184
+ PortDescription: port_description,
185
186
+ d.initialized = true
187
188
189
func (d *Server) configure(cmd string) {
0 commit comments