Package org.apache.hc.core5.reactor
Class ListenerEndpointRequest
- java.lang.Object
-
- org.apache.hc.core5.reactor.ListenerEndpointRequest
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
final class ListenerEndpointRequest extends java.lang.Object implements java.io.Closeable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.net.SocketAddress
address
(package private) java.lang.Object
attachment
(package private) BasicFuture<ListenerEndpoint>
future
-
Constructor Summary
Constructors Constructor Description ListenerEndpointRequest(java.net.SocketAddress address, java.lang.Object attachment, BasicFuture<ListenerEndpoint> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
void
close()
void
completed(ListenerEndpoint endpoint)
void
failed(java.lang.Exception cause)
boolean
isCancelled()
-
-
-
Field Detail
-
address
final java.net.SocketAddress address
-
attachment
final java.lang.Object attachment
-
future
final BasicFuture<ListenerEndpoint> future
-
-
Constructor Detail
-
ListenerEndpointRequest
ListenerEndpointRequest(java.net.SocketAddress address, java.lang.Object attachment, BasicFuture<ListenerEndpoint> future)
-
-
Method Detail
-
completed
public void completed(ListenerEndpoint endpoint)
-
failed
public void failed(java.lang.Exception cause)
-
cancel
public void cancel()
-
isCancelled
public boolean isCancelled()
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-