Package org.km3net.clb.remote
Class CmdNetwork
- java.lang.Object
-
- org.km3net.clb.remote.Control.CommandGroup
-
- org.km3net.clb.remote.CmdNetwork
-
public class CmdNetwork extends Control.CommandGroup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmdNetwork.TSFPInfo
static class
CmdNetwork.TSFPStatus
static class
CmdNetwork.WlTuneInfo
-
Field Summary
Fields Modifier and Type Field Description static int
WL_TUNE_PROC_EOPTOLINK
static int
WL_TUNE_PROC_JDSU
static int
WL_TUNE_PROC_LUMENTUM
static int
WL_TUNE_PROC_NONE
static int
WL_TUNE_PROC_OESOLUTIONS
static int
WL_TUNE_PROC_SIMULATION
static int
WL_TUNE_PROC_TSFP
static int
WL_TUNE_STATE_BUSY
static int
WL_TUNE_STATE_ERROR
static int
WL_TUNE_STATE_IDLE
static int
WL_TUNE_STATE_WAITACK
-
Fields inherited from class org.km3net.clb.remote.Control.CommandGroup
ctl, msg
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmdNetwork(Control ctl, MessageProcessor msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<java.lang.Void>
changeWLTuneWord(int delta)
Changes the wavelength.Response<CmdNetwork.TSFPInfo>
getTSFPInfo()
Returns the TSFP information objectResponse<CmdNetwork.TSFPStatus>
getTSFPStatus()
Returns the TSFP status objectResponse<CmdNetwork.WlTuneInfo>
getWlInfo()
Returns the tuning informationResponse<java.lang.Void>
sendWlAck()
Acks the wavelength.Response<java.lang.Void>
setMuxDest(java.net.Inet4Address destTarget)
Sets the destination address of the IPMux.Response<java.lang.Void>
setWLTuneWord(int tw)
-
-
-
Field Detail
-
WL_TUNE_STATE_IDLE
public static final int WL_TUNE_STATE_IDLE
- See Also:
- Constant Field Values
-
WL_TUNE_STATE_BUSY
public static final int WL_TUNE_STATE_BUSY
- See Also:
- Constant Field Values
-
WL_TUNE_STATE_WAITACK
public static final int WL_TUNE_STATE_WAITACK
- See Also:
- Constant Field Values
-
WL_TUNE_STATE_ERROR
public static final int WL_TUNE_STATE_ERROR
- See Also:
- Constant Field Values
-
WL_TUNE_PROC_NONE
public static final int WL_TUNE_PROC_NONE
- See Also:
- Constant Field Values
-
WL_TUNE_PROC_EOPTOLINK
public static final int WL_TUNE_PROC_EOPTOLINK
- See Also:
- Constant Field Values
-
WL_TUNE_PROC_OESOLUTIONS
public static final int WL_TUNE_PROC_OESOLUTIONS
- See Also:
- Constant Field Values
-
WL_TUNE_PROC_SIMULATION
public static final int WL_TUNE_PROC_SIMULATION
- See Also:
- Constant Field Values
-
WL_TUNE_PROC_LUMENTUM
public static final int WL_TUNE_PROC_LUMENTUM
- See Also:
- Constant Field Values
-
WL_TUNE_PROC_JDSU
public static final int WL_TUNE_PROC_JDSU
- See Also:
- Constant Field Values
-
WL_TUNE_PROC_TSFP
public static final int WL_TUNE_PROC_TSFP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmdNetwork
protected CmdNetwork(Control ctl, MessageProcessor msg)
-
-
Method Detail
-
setMuxDest
public Response<java.lang.Void> setMuxDest(java.net.Inet4Address destTarget)
Sets the destination address of the IPMux.- Parameters:
destTarget
- Destination IP address- Returns:
- A void response.
-
changeWLTuneWord
public Response<java.lang.Void> changeWLTuneWord(int delta)
Changes the wavelength.
-
setWLTuneWord
public Response<java.lang.Void> setWLTuneWord(int tw)
-
getWlInfo
public Response<CmdNetwork.WlTuneInfo> getWlInfo()
Returns the tuning information
-
sendWlAck
public Response<java.lang.Void> sendWlAck()
Acks the wavelength.
-
getTSFPInfo
public Response<CmdNetwork.TSFPInfo> getTSFPInfo()
Returns the TSFP information object
-
getTSFPStatus
public Response<CmdNetwork.TSFPStatus> getTSFPStatus()
Returns the TSFP status object
-
-