Package org.terracotta.angela.common.net
Interface DisruptionProvider
-
- All Known Implementing Classes:
NetCrusherProvider
public interface DisruptionProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DisruptorcreateLink(InetSocketAddress src, InetSocketAddress dest)Create link to disrupt traffic flowing from the given source address to destination address(unidirectional)booleanisProxyBased()voidremoveLink(Disruptor link)remove link
-
-
-
Method Detail
-
isProxyBased
boolean isProxyBased()
- Returns:
- true in case of a proxy based provider such as netcrusher or toxiproxy
-
createLink
Disruptor createLink(InetSocketAddress src, InetSocketAddress dest)
Create link to disrupt traffic flowing from the given source address to destination address(unidirectional)- Parameters:
src- source addressdest- destination address- Returns:
- Disruptor link
-
-