public interface NetworkPolicy
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowConnection(java.net.InetSocketAddress addr)
Return true if an outgoing connection is allowed to the specified address and port.
|
boolean |
allowListening(java.net.InetSocketAddress addrPort)
Return true if the server is allowed to listen for connections on the specified address and port.
|
boolean allowConnection(java.net.InetSocketAddress addr)
boolean allowListening(java.net.InetSocketAddress addrPort)
Copyright © 2018 Apigee Corporation. All Rights Reserved.