public static Message buildDisconnected ( String serverId ) { Disconnected dis = Disconnected . newBuilder ( ) . setServerId ( serverId ) . build ( ) ; return Message . newBuilder ( ) . setType ( MessageType . DISCONNECTED ) . setDisconnected ( dis ) . build ( ) ; }
Creates a DISCONNECTED message .