SocketAddress
Connection to the
endpoint.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Endpoint.
Convenient Endpoint factory for cases, when user has a |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract GrizzlyFuture | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public abstract Object | |
| public int | |
| protected void | onConnect(Connection<L>
the connection, SingleEndpointPool<E> Connectionthe pool, to which the pool)Connection is boundThe method is called, once new |
| Endpoint | back to summary |
|---|---|
| public Endpoint() | |
| connect | back to summary |
|---|---|
| public abstract GrizzlyFuture | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getId | back to summary |
|---|---|
| public abstract Object getId() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| onConnect | back to summary |
|---|---|
| protected void onConnect(Connection<L> connection, SingleEndpointPool<E> pool) The method is called, once new
| |
ConnectorHandler and endpoint address.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <E> Endpoint | |
| public static <E> Endpoint | |
| public static <E> Endpoint | create(final Object id, final E targetAddress, final E localAddress, final ConnectorHandler<E> connectorHandler)
|
| Factory | back to summary |
|---|---|
| public Factory() | |
| create | back to summary |
|---|---|
| public static <E> Endpoint | |
| create | back to summary |
|---|---|
| public static <E> Endpoint | |
| create | back to summary |
|---|---|
| public static <E> Endpoint | |