Function
MakeTsunamiController
(tabId string, blockId string, connName string)
Source from the content-addressed store, hash-verified
| 406 | } |
| 407 | |
| 408 | func MakeTsunamiController(tabId string, blockId string, connName string) Controller { |
| 409 | log.Printf("make tsunami controller: %s %s\n", tabId, blockId) |
| 410 | return &TsunamiController{ |
| 411 | blockId: blockId, |
| 412 | tabId: tabId, |
| 413 | connName: connName, |
| 414 | status: Status_Init, |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | // requires the lock (so do not call while holding statusLock) |
| 419 | func (c *TsunamiController) sendStatusUpdate() { |
Tested by
no test coverage detected