public class SbcNetworkGuard extends Object implements NetworkGuard
NetworkGuard implementation that accepts first packet from any source. From that moment on, the channel connects to
remote peer and only traffic coming from that single source is accpeted.| Constructor and Description |
|---|
SbcNetworkGuard() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSecure(io.netty.channel.Channel channel,
InetSocketAddress source)
Decides whether a remote peer is secure or not.
|
public boolean isSecure(io.netty.channel.Channel channel,
InetSocketAddress source)
NetworkGuardisSecure in interface NetworkGuardchannel - The channel who received the packet.source - The address of the remote peer.Copyright © 2017 TeleStax, Inc.. All Rights Reserved.