nwsServer-class: Class Representing NetWorkSpaces Server

Description Objects from the Class Slots Methods Examples

Description

Class representing nwsServer.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# example 1
nwss = nwsServer()
# Or,
nwss = new("nwsServer")

# example 2
nwss = nwsServer(serverHost="node1", port=5555)

## End(Not run)

nws documentation built on May 29, 2017, 11 p.m.

Search within the nws package
Search all R packages, documentation and source code