mirror of
https://github.com/codex-storage/codex-research.git
synced 2025-02-11 01:56:21 +00:00
14 lines
262 B
R
14 lines
262 B
R
|
Node <- R6Class(
|
||
|
'Node',
|
||
|
public = list(
|
||
|
node_id = NULL,
|
||
|
storage = NULL,
|
||
|
|
||
|
initialize = function(node_id, storage) {
|
||
|
self$node_id = node_id
|
||
|
self$storage = storage
|
||
|
},
|
||
|
|
||
|
name = function() paste0('node ', self$node_id)
|
||
|
)
|
||
|
)
|