serverInfo {nws} | R Documentation |
Class representing serverInfo.
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
:"localhost"
.port
:8765
.host
:"character"
representation of the server host name.port
:"numeric"
representation of the server port number.signature(.Object = "serverInfo")
:
serverInfo class constructor.signature(.Object = "serverInfo")
:
return hostname associated with server.signature(.Object = "serverInfo")
:
return port associated with server.## Not run: # example 1 nwss = serverInfo() # Or, nwss = new("serverInfo") # example 2 nwss = serverInfo(host="node1", port=5555) ## End(Not run)