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

Method getProtocols

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

Returns all protocols in a list, from top to bottom. These are not copies of protocols, so modifications will affect the actual instances !

()

Source from the content-addressed store, hash-verified

203 /** Returns all protocols in a list, from top to bottom. <em>These are not copies of protocols,
204 so modifications will affect the actual instances !</em> */
205 public List<Protocol> getProtocols() {
206 List<Protocol> v=new ArrayList<>(15);
207 Protocol p=top_prot;
208 while(p != null) {
209 v.add(p);
210 p=p.getDownProtocol();
211 }
212 return v;
213 }
214
215
216 /** Returns the bottom most protocol */

Callers 11

registerChannelMethod · 0.95
unregisterChannelMethod · 0.95
handleProbeMethod · 0.95
printProtocolSpecMethod · 0.95
initMethod · 0.95
initProtocolStackMethod · 0.95
destroyMethod · 0.95
startStackMethod · 0.95
stopStackMethod · 0.95
setAddressMethod · 0.95

Calls 2

getDownProtocolMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected