method
restore channel () =
rep <-
Marshal
.from_channel channel