Comm class
Comm class
id
id of the comm. read only.
target_name
name of the target for this comm
new()
Comm$new(xp, description = "")
xp
external pointer to an instance of the C++ class 'xeus::xcomm'
description
description of this comm
open()
Comm$open(data = NULL, metadata = NULL)
data
data
metadata
metadata
close()
Comm$close(data = NULL, metadata = NULL)
data
data
metadata
metadata
send()
Comm$send(data = NULL, metadata = NULL)
data
data
metadata
metadata
on_close()
Comm$on_close(handler)
handler
function to call when the comm is closed
on_message()
Comm$on_message(handler)
handler
function to call when receiving a message
print()
Comm$print()
information about the comm
clone()
The objects of this class are cloneable with this method.
Comm$clone(deep = FALSE)
deep
Whether to make a deep clone.