mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/ccomm/CustomCommsServiceImpl.java
private PhysicalLinkInternal requestPhysicalLink(final PhysicalLinkInternal physicalLink)
    {
        if (physicalLink.isInUse())
        {
            throw new IllegalStateException("Unable to request Physical Link [" + physicalLink.getName() 
                + "] it is already in use");
        }
        else
        {
            physicalLink.setInUse(true);
            return physicalLink;
        }
    }
/**
     * Get the in use flag value from the give physical link.
     * @param physicalLink
     *      the physical link to request
     * @return
     *      the requested physical link object
     */
Get the in use flag value from the give physical link.
@param physicalLink
the physical link to request
@return
the requested physical link object
Get the in use flag value from the give physical link . @param physicalLink the physical link to request @return the requested physical link object
private PhysicalLinkInternal requestPhysicalLink(final PhysicalLinkInternal physicalLink)
    {
        if (physicalLink.isInUse())
        {
            throw new IllegalStateException("Unable to request Physical Link [" + physicalLink.getName() 
                + "] it is already in use");
        }
        else
        {
            physicalLink.setInUse(true);
            return physicalLink;
        }
    }
private PhysicalLinkInternal requestPhysicalLink ( final PhysicalLinkInternal physicalLink ) { if ( physicalLink . isInUse ( ) ) { throw new IllegalStateException ( "Unable to request Physical Link [" + physicalLink . getName ( ) + "] it is already in use" ) ; } else { physicalLink . setInUse ( true ) ; return physicalLink ; } }
Get the in use flag value from the give physical link.
Get the in use flag value from the give physical link .