public int discriminate ( VirtualConnection vc , Object discrimData , ConnectionLink prevChannelLink ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "discriminate: " + vc ) ; } ConnectionLink nextChannelLink = nextChannel . getConnectionLink ( vc ) ; prevChannelLink . setApplicationCallback ( nextChannelLink ) ; nextChannelLink . setDeviceLink ( prevChannelLink ) ; return DiscriminationProcess . SUCCESS ; }
Use a VirtualConnection rather than a InboundVirtualConnection for discrimination