public void accept ( String systemId , InterfaceVersion interfaceVersion ) throws PDUStringException , IllegalStateException , IOException { StringValidator . validateString ( systemId , StringParameter . SYSTEM_ID ) ; lock . lock ( ) ; try { if ( ! done ) { done = true ; try { responseHandler . sendBindResp ( systemId , interfaceVersion , bindType , originalSequenceNumber ) ; } finally { condition . signal ( ) ; } } else { throw new IllegalStateException ( "Response already initiated" ) ; } } finally { lock . unlock ( ) ; } done = true ; }
Accept the bind request . The provided interface version will be put into the optional parameter sc_interface_version in the bind response message .