serverInfo {nws}R Documentation

Class Representing NetWorkSpaces Server

Description

Class representing serverInfo.

Objects from the Class

Objects can be created by calls of the form
serverInfo(...)
or
new("serverInfo", ...)
where '...' can be one or more of the following named arguments:

host:
server host name. Default value is "localhost".
port:
server port number. Default value is 8765.

Slots

host:
Object of class "character" representation of the server host name.
port:
Object of class "numeric" representation of the server port number.

Methods

initialize
signature(.Object = "serverInfo"): serverInfo class constructor.
nwsHost
signature(.Object = "serverInfo"): return hostname associated with server.
nwsPort
signature(.Object = "serverInfo"): return port associated with server.

Examples

## Not run: 
# example 1
nwss = serverInfo()
# Or,
nwss = new("serverInfo")

# example 2
nwss = serverInfo(host="node1", port=5555)
## End(Not run)

[Package nws version 2.0.0.3 Index]