public class DirectNetworkGuard extends Object implements NetworkGuard
| Constructor and Description |
|---|
DirectNetworkGuard() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSecure(NetworkChannel channel,
InetSocketAddress source)
Decides whether a remote peer is secure or not.
|
public boolean isSecure(NetworkChannel 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.