public final class SocketAddressCallback extends Object implements ExtendedCallback, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SocketAddressCallback.Kind
Endpoint disposition kinds.
|
Constructor and Description |
---|
SocketAddressCallback(SocketAddress address)
Construct a new instance.
|
SocketAddressCallback(SocketAddress address,
SocketAddressCallback.Kind kind)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SocketAddress |
getAddress()
Get the endpoint socket address.
|
SocketAddressCallback.Kind |
getKind()
Get the endpoint disposition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOptional, needsInformation
public SocketAddressCallback(SocketAddress address, SocketAddressCallback.Kind kind)
address
- the endpoint socket addresskind
- the disposition of the endpointpublic SocketAddressCallback(SocketAddress address)
SocketAddressCallback.Kind.PEER
.address
- the endpoint socket addresspublic SocketAddress getAddress()
public SocketAddressCallback.Kind getKind()
Copyright © 2020 JBoss by Red Hat. All rights reserved.