void function ( Boolean arg0 ) { if ( arg0 == true ) { this . hasError = false ; this . notifyLinkStatusChange ( ) ; } else { this . hasError = true ; this . notifyLinkStatusChange ( ) ; } }
tells this nic if it is sensing light through the cable concode_field_sep int id concode_elem_sep OpticalNICTA workingNIC concode_elem_sep Boolean isClockwise concode_elem_sep Boolean trace concode_elem_sep Boolean isOnRing concode_elem_sep OpticalNICTA protectionNIC concode_elem_sep String description concode_elem_sep IOpticalRouterTA parent concode_elem_sep OtoOLinkTA inLink concode_elem_sep Boolean hasError concode_elem_sep OtoOLinkTA outLink concode_field_sep IOpticalRouterTA getParent concode_elem_sep void setIsOnRing concode_elem_sep void setOutLink concode_elem_sep void setClockwise concode_elem_sep Boolean getIsOnRing concode_elem_sep void setInLink concode_elem_sep int getID concode_elem_sep String getDescription concode_elem_sep void notifyLinkStatusChange concode_elem_sep OpticalNICTA getWorkingNIC concode_elem_sep Boolean sendFrame concode_elem_sep Boolean getHasError concode_elem_sep void receiveData concode_elem_sep void setHasError concode_elem_sep void setID concode_elem_sep Boolean getIsClockwise concode_elem_sep OpticalNICTA getProtectionNIC concode_elem_sep void setIsProtection concode_elem_sep void setIsWorking