serverInfo                package:nws                R Documentation

_C_l_a_s_s _R_e_p_r_e_s_e_n_t_i_n_g _N_e_t_W_o_r_k_S_p_a_c_e_s _S_e_r_v_e_r

_D_e_s_c_r_i_p_t_i_o_n:

     Class representing serverInfo.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

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

     '_h_o_s_t': server host name. Default value is '"localhost"'.

     '_p_o_r_t': server port number. Default value is '8765'.

_S_l_o_t_s:


     '_h_o_s_t': Object of class '"character"' representation of the server
          host name.

     '_p_o_r_t': Object of class '"numeric"' representation of the server
          port number.

_M_e_t_h_o_d_s:


     _i_n_i_t_i_a_l_i_z_e 'signature(.Object = "serverInfo")': serverInfo class
          constructor.

     _n_w_s_H_o_s_t 'signature(.Object = "serverInfo")': return hostname
          associated with server.

     _n_w_s_P_o_r_t 'signature(.Object = "serverInfo")': return port
          associated with server.

_E_x_a_m_p_l_e_s:

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

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

