- java.lang.Object
-
- mslinks.data.CNRLink
-
- All Implemented Interfaces:
Serializable
public class CNRLink extends java.lang.Object implements Serializable
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CNRLink()
CNRLink(ByteReader data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
checkNptype(int type)
java.lang.String
getDeviceName()
java.lang.String
getNetName()
int
getNetworkType()
void
serialize(ByteWriter bw)
CNRLink
setDeviceName(java.lang.String s)
pass null to switch off device infoCNRLink
setNetName(java.lang.String s)
if s is null take no effectCNRLink
setNetworkType(int n)
pass zero to switch off network type
-
-
-
Field Detail
-
WNNC_NET_AVID
public static final int WNNC_NET_AVID
- See Also:
- Constant Field Values
-
WNNC_NET_DOCUSPACE
public static final int WNNC_NET_DOCUSPACE
- See Also:
- Constant Field Values
-
WNNC_NET_MANGOSOFT
public static final int WNNC_NET_MANGOSOFT
- See Also:
- Constant Field Values
-
WNNC_NET_SERNET
public static final int WNNC_NET_SERNET
- See Also:
- Constant Field Values
-
WNNC_NET_RIVERFRONT1
public static final int WNNC_NET_RIVERFRONT1
- See Also:
- Constant Field Values
-
WNNC_NET_RIVERFRONT2
public static final int WNNC_NET_RIVERFRONT2
- See Also:
- Constant Field Values
-
WNNC_NET_DECORB
public static final int WNNC_NET_DECORB
- See Also:
- Constant Field Values
-
WNNC_NET_PROTSTOR
public static final int WNNC_NET_PROTSTOR
- See Also:
- Constant Field Values
-
WNNC_NET_FJ_REDIR
public static final int WNNC_NET_FJ_REDIR
- See Also:
- Constant Field Values
-
WNNC_NET_DISTINCT
public static final int WNNC_NET_DISTINCT
- See Also:
- Constant Field Values
-
WNNC_NET_TWINS
public static final int WNNC_NET_TWINS
- See Also:
- Constant Field Values
-
WNNC_NET_RDR2SAMPLE
public static final int WNNC_NET_RDR2SAMPLE
- See Also:
- Constant Field Values
-
WNNC_NET_CSC
public static final int WNNC_NET_CSC
- See Also:
- Constant Field Values
-
WNNC_NET_3IN1
public static final int WNNC_NET_3IN1
- See Also:
- Constant Field Values
-
WNNC_NET_EXTENDNET
public static final int WNNC_NET_EXTENDNET
- See Also:
- Constant Field Values
-
WNNC_NET_STAC
public static final int WNNC_NET_STAC
- See Also:
- Constant Field Values
-
WNNC_NET_FOXBAT
public static final int WNNC_NET_FOXBAT
- See Also:
- Constant Field Values
-
WNNC_NET_YAHOO
public static final int WNNC_NET_YAHOO
- See Also:
- Constant Field Values
-
WNNC_NET_EXIFS
public static final int WNNC_NET_EXIFS
- See Also:
- Constant Field Values
-
WNNC_NET_DAV
public static final int WNNC_NET_DAV
- See Also:
- Constant Field Values
-
WNNC_NET_KNOWARE
public static final int WNNC_NET_KNOWARE
- See Also:
- Constant Field Values
-
WNNC_NET_OBJECT_DIRE
public static final int WNNC_NET_OBJECT_DIRE
- See Also:
- Constant Field Values
-
WNNC_NET_MASFAX
public static final int WNNC_NET_MASFAX
- See Also:
- Constant Field Values
-
WNNC_NET_HOB_NFS
public static final int WNNC_NET_HOB_NFS
- See Also:
- Constant Field Values
-
WNNC_NET_SHIVA
public static final int WNNC_NET_SHIVA
- See Also:
- Constant Field Values
-
WNNC_NET_IBMAL
public static final int WNNC_NET_IBMAL
- See Also:
- Constant Field Values
-
WNNC_NET_LOCK
public static final int WNNC_NET_LOCK
- See Also:
- Constant Field Values
-
WNNC_NET_TERMSRV
public static final int WNNC_NET_TERMSRV
- See Also:
- Constant Field Values
-
WNNC_NET_SRT
public static final int WNNC_NET_SRT
- See Also:
- Constant Field Values
-
WNNC_NET_QUINCY
public static final int WNNC_NET_QUINCY
- See Also:
- Constant Field Values
-
WNNC_NET_OPENAFS
public static final int WNNC_NET_OPENAFS
- See Also:
- Constant Field Values
-
WNNC_NET_AVID1
public static final int WNNC_NET_AVID1
- See Also:
- Constant Field Values
-
WNNC_NET_DFS
public static final int WNNC_NET_DFS
- See Also:
- Constant Field Values
-
WNNC_NET_KWNP
public static final int WNNC_NET_KWNP
- See Also:
- Constant Field Values
-
WNNC_NET_ZENWORKS
public static final int WNNC_NET_ZENWORKS
- See Also:
- Constant Field Values
-
WNNC_NET_DRIVEONWEB
public static final int WNNC_NET_DRIVEONWEB
- See Also:
- Constant Field Values
-
WNNC_NET_VMWARE
public static final int WNNC_NET_VMWARE
- See Also:
- Constant Field Values
-
WNNC_NET_RSFX
public static final int WNNC_NET_RSFX
- See Also:
- Constant Field Values
-
WNNC_NET_MFILES
public static final int WNNC_NET_MFILES
- See Also:
- Constant Field Values
-
WNNC_NET_MS_NFS
public static final int WNNC_NET_MS_NFS
- See Also:
- Constant Field Values
-
WNNC_NET_GOOGLE
public static final int WNNC_NET_GOOGLE
- See Also:
- Constant Field Values
-
flags
private CNRLinkFlags flags
-
nptype
private int nptype
-
netname
private java.lang.String netname
-
devname
private java.lang.String devname
-
-
Constructor Detail
-
CNRLink
public CNRLink()
-
CNRLink
public CNRLink(ByteReader data) throws ShellLinkException, java.io.IOException
- Throws:
ShellLinkException
java.io.IOException
-
-
Method Detail
-
checkNptype
private void checkNptype(int type) throws ShellLinkException
- Throws:
ShellLinkException
-
serialize
public void serialize(ByteWriter bw) throws java.io.IOException
- Specified by:
serialize
in interfaceSerializable
- Throws:
java.io.IOException
-
getNetworkType
public int getNetworkType()
-
setNetworkType
public CNRLink setNetworkType(int n) throws ShellLinkException
pass zero to switch off network type- Throws:
ShellLinkException
-
getNetName
public java.lang.String getNetName()
-
setNetName
public CNRLink setNetName(java.lang.String s)
if s is null take no effect
-
getDeviceName
public java.lang.String getDeviceName()
-
setDeviceName
public CNRLink setDeviceName(java.lang.String s)
pass null to switch off device info
-
-