LateralTCPSender sender = new LateralTCPSender( new TCPLateralCacheAttributes() );
LateralTCPSender sender = new LateralTCPSender( new TCPLateralCacheAttributes() );
/** * Constructor for the LateralTCPService object * <p> * @param lca ITCPLateralCacheAttributes * @throws IOException */ public LateralTCPService( ITCPLateralCacheAttributes lca ) throws IOException { this.allowGet = lca.isAllowGet(); this.allowPut = lca.isAllowPut(); this.issueRemoveOnPut = lca.isIssueRemoveOnPut(); try { sender = new LateralTCPSender( lca ); if ( log.isInfoEnabled() ) { log.debug( "Created sender to [" + lca.getTcpServer() + "]" ); } } catch ( IOException e ) { // log.error( "Could not create sender", e ); // This gets thrown over and over in recovery mode. // The stack trace isn't useful here. log.error( "Could not create sender to [" + lca.getTcpServer() + "] -- " + e.getMessage() ); throw e; } }
/** * Constructor for the LateralTCPService object * <p> * @param lca ITCPLateralCacheAttributes * @throws IOException */ public LateralTCPService( ITCPLateralCacheAttributes lca ) throws IOException { this.allowGet = lca.isAllowGet(); this.allowPut = lca.isAllowPut(); this.issueRemoveOnPut = lca.isIssueRemoveOnPut(); try { sender = new LateralTCPSender( lca ); if ( log.isInfoEnabled() ) { log.debug( "Created sender to [" + lca.getTcpServer() + "]" ); } } catch ( IOException e ) { // log.error( "Could not create sender", e ); // This gets thrown over and over in recovery mode. // The stack trace isn't useful here. log.error( "Could not create sender to [" + lca.getTcpServer() + "] -- " + e.getMessage() ); throw e; } }
LateralTCPSender lur = new LateralTCPSender( lac );
LateralTCPSender lur = new LateralTCPSender( lac );