public class NetCrusherProvider extends Object implements DisruptionProvider
https://github.com/NetCrusherOrg/netcrusher-java
| Constructor and Description |
|---|
NetCrusherProvider() |
| Modifier and Type | Method and Description |
|---|---|
Disruptor |
createLink(InetSocketAddress src,
InetSocketAddress dest)
Create link to disrupt traffic flowing from the given source address to destination address(unidirectional)
|
boolean |
isProxyBased() |
void |
removeLink(Disruptor disruptor)
remove link
|
public boolean isProxyBased()
isProxyBased in interface DisruptionProviderpublic Disruptor createLink(InetSocketAddress src, InetSocketAddress dest)
DisruptionProvidercreateLink in interface DisruptionProvidersrc - source addressdest - destination addresspublic void removeLink(Disruptor disruptor)
DisruptionProviderremoveLink in interface DisruptionProviderdisruptor - DisruptorCopyright © 2021. All rights reserved.