Package org.zeromq
Interface ZAuth.Auth
- All Known Implementing Classes:
ZAuth.SimpleCurveAuth
,ZAuth.SimpleNullAuth
,ZAuth.SimplePlainAuth
- Enclosing class:
- ZAuth
public static interface ZAuth.Auth
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authorize
(ZAuth.ZapRequest request, boolean verbose) Callback for authorizing a connection.boolean
Configures with ad-hoc message.
-
Method Details
-
configure
Configures with ad-hoc message.- Parameters:
msg
- the configuration message.verbose
- true if the actor is verbose.- Returns:
- true if correctly configured, otherwise false.
-
authorize
Callback for authorizing a connection.- Parameters:
request
-verbose
-- Returns:
- true if the connection is authorized, false otherwise.
-