MCPcopy Create free account
hub / github.com/belaban/JGroups / startStack

Method startStack

src/org/jgroups/stack/ProtocolStack.java:914–923  ·  view source on GitHub ↗

Start all protocols. The Protocol#start() method is called in each protocol, from bottom to top . Each protocol can perform some initialization, e.g. create a multicast socket

()

Source from the content-addressed store, hash-verified

912 * <em>from bottom to top</em>. Each protocol can perform some initialization, e.g. create a multicast socket
913 */
914 public void startStack() throws Exception {
915 if(!stopped) return;
916 stopped=false;
917 List<Protocol> protocols=getProtocols();
918 Collections.reverse(protocols);
919 for(Protocol prot: protocols)
920 prot.start();
921 TP transport=getTransport();
922 transport.registerProbeHandler(props_handler);
923 }
924
925
926

Callers

nothing calls this directly

Calls 4

getProtocolsMethod · 0.95
getTransportMethod · 0.95
startMethod · 0.65
registerProbeHandlerMethod · 0.45

Tested by

no test coverage detected