public final class SocketAddressQueryCallbackHandler extends Object implements CallbackHandler
Constructor and Description |
---|
SocketAddressQueryCallbackHandler(CallbackHandler delegate,
SocketAddress localAddress,
SocketAddress peerAddress)
Construct a new instance.
|
public SocketAddressQueryCallbackHandler(CallbackHandler delegate, SocketAddress localAddress, SocketAddress peerAddress)
delegate
- the callback handler to delegate tolocalAddress
- the local socket addresspeerAddress
- the peer socket addresspublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
Copyright © 2020 JBoss by Red Hat. All rights reserved.