docstr: Handles server management events.
          
docstr_tok: ["Handles","server","management","events","."]
code: def write(self, val: Any, from_stream: "Stream" = None):
      r"""Handles server management events."""
      stream_item = self.to_stream_item(val)
      mgmt_msg = stream_item.value
  
      utils.debug_log("Received - SeverMgmtevent", mgmt_msg)
      # if server was restarted then send create stream requests again
      if mgmt_msg.event_name == ServerMgmtMsg.EventServerStart:
          for stream_req in self._stream_reqs.values():
              self._send_create_stream(stream_req)
  
      super(ZmqMgmtStream, self).write(stream_item)
  
file_path: tensorwatch/tensorwatch/zmq_mgmt_stream.py
imports: from typing import Any
  from .zmq_stream import ZmqStream
  from .lv_types import PublisherTopics, ServerMgmtMsg, StreamCreateRequest
  from .zmq_wrapper import ZmqWrapper
  from .lv_types import CliSrvReqTypes, ClientServerRequest
  from .None import utils
label_desc: Use image node_id 2 for calling the ZmqMgmtStream obj's underlying member method code with example usage: obj.write(val, from_stream) without return types