Join us for
RADAR: AI Edition

nws (version 1.7.0.1)

nwsServer: Class Representing NetWorkSpaces Server

Description

Class representing nwsServer.

Arguments

Objects from the Class

Objects can be created by calls of the form nwsServer(serverHost, port) or new("nwsServer", serverHost, port).
serverHost:
server host name. Default value is "localhost".
port:
server port number. Default value is 8765.

Slots

cookieProtocol:
Currently not used.
nwsSocket:
Object of class "ANY" representation of the socket connection to the server.
port:
Object of class "numeric" representation of the server port number.
serverHost:
Object of class "character" representation of the server host name.

Methods

initialize
signature(.Object = "nwsServer"): nwsServer class constructor.
nwsDeleteWs
signature(.Object = "nwsServer"): delete a netWorkSpace from the server.
nwsListWss
signature(.Object = "nwsServer"): list all netWorkSpaces in the server.
nwsMktempWs
signature(.Object = "nwsServer"): create a unique temporary workspace using the default or specified template.
nwsOpenWs
signature(.Object = "nwsServer"): create and owned a netWorkSpace.
nwsUseWs
signature(.Object = "nwsServer"): connect to a netWorkSpace but does not claim ownership.

Examples

Run this code
## Not run: 
# # example 1
# nwss = nwsServer()
# # Or,
# nwss = new("nwsServer")
# 
# # example 2
# nwss = nwsServer(serverHost="node1", port=5555)
# ## End(Not run)

Run the code above in your browser using DataLab