public void start() throws Exception { super.start(); running=true; ack_mode=true; }
public void start() throws Exception { super.start(); running=true; }
public void start() throws Exception { super.start(); running = true; }
public void start() throws Exception { super.start(); }
public void start() throws Exception { shuttin_down=false; super.start(); }
public void start() throws Exception { super.start(); if(max_bytes < frag_size) throw new IllegalStateException("max_bytes (" + max_bytes + ") need to be bigger than frag_size (" + frag_size + ")"); running=true; }
public void start() throws Exception { super.start(); if(auth_token != null) auth_token.start(); }
public void start() throws Exception { super.start(); startResendTask(); }
public void start() throws Exception { super.start(); if(use_gui) { discard_dialog=new DiscardDialog(); discard_dialog.init(); } }
public void start() throws Exception { super.start(); received_not_coord=false; fwd_queue.setUpProt(up_prot); fwd_queue.setDownProt(down_prot); fwd_queue.start(); }
/** * Start all layers. The {@link Protocol#start()} method is called in each protocol, * <em>from top to bottom</em>. * Each layer can perform some initialization, e.g. create a multicast socket */ public void startStack() throws Exception { if(!stopped) return; for(Protocol prot: getProtocols()) prot.start(); TP transport=getTransport(); transport.registerProbeHandler(props_handler); stopped=false; }
public void start() throws Exception { super.start(); srv_sock=Util.createServerSocket(getSocketFactory(), "jgroups.stomp.srv_sock", bind_addr, port, port+50); if(log.isDebugEnabled()) log.debug("server socket listening on " + srv_sock.getLocalSocketAddress()); if(acceptor == null) { acceptor=getThreadFactory().newThread(this, "STOMP acceptor"); acceptor.setDaemon(true); acceptor.start(); } endpoint=endpoint_addr != null? endpoint_addr : getAddress(); }
public void start() throws Exception { super.start(); boolean is_udp_transport=getTransport().isMulticastCapable(); if(is_udp_transport && frag_size <= 0) log.warn("No fragmentation protocol was found. When flow control is used, we recommend " + "a fragmentation protocol, due to http://jira.jboss.com/jira/browse/JGRP-590"); if(frag_size > 0 && frag_size >= min_credits) { log.warn("The fragmentation size of the fragmentation protocol is %d, which is greater than min_credits (%d). " + "This can lead to blockings (https://issues.jboss.org/browse/JGRP-1659)", frag_size, min_credits); } running=true; }
callAfterCreationHook(prot, afterCreationHook()); prot.init(); prot.start();
public void start() throws Exception { super.start(); if(max_bytes < frag_size) throw new IllegalStateException("max_bytes (" + max_bytes + ") need to be bigger than frag_size (" + frag_size + ")"); running=true; }
public void start() throws Exception { super.start(); sent_lock.lock(); try { running=true; lowest_credit=max_credits; } finally { sent_lock.unlock(); } }
public static void startProtocolStack(Protocol prot) throws Exception { while(prot != null) { prot.start(); prot=prot.getDownProtocol(); } }
public void start() throws Exception { super.start(); if(use_gui) { discard_dialog=new DiscardDialog(); discard_dialog.init(); } }
public void start() throws Exception { super.start(); srv_sock=Util.createServerSocket(getSocketFactory(), "jgroups.stomp.srv_sock", bind_addr, port, port+50); if(log.isDebugEnabled()) log.debug("server socket listening on " + srv_sock.getLocalSocketAddress()); if(acceptor == null) { acceptor=getThreadFactory().newThread(this, "STOMP acceptor"); acceptor.setDaemon(true); acceptor.start(); } endpoint=endpoint_addr != null? endpoint_addr : getAddress(); }
protected void enableDiscoveryProtocol(JChannel c) { try { c.getProtocolStack().findProtocol(TEST_PING.class).start(); } catch (Exception e) { throw new RuntimeException(e); } }