public abstract class PAPProxy
extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PAPProxy.Responder
Responder.
|
Modifier | Constructor and Description |
---|---|
protected |
PAPProxy(PAPContext context,
Origin origin)
Constructs an instance.
|
protected |
PAPProxy(PAPProxy other)
Constructs an instance from an other.
|
Modifier and Type | Method and Description |
---|---|
abstract PAPProxy |
copy()
Creates a copy of this.
|
void |
disconnect()
Disconnects.
|
PAPConnectionListener |
getConnectionListener()
Gets the connection listener.
|
Optional<Point> |
getConnectionStatePoint()
Gets the connection state point.
|
PAPContext |
getContext()
Gets the context.
|
Optional<String> |
getName()
Gets the origin name.
|
Origin |
getOrigin()
Gets the origin representing the remote.
|
protected Logger |
getThisLogger()
Gets the logger for this instance.
|
void |
setConnectionListener(PAPConnectionListener connectionListener)
Sets the connection listener.
|
boolean |
setConnectionStatePoint(Point connectionStatePoint)
Sets the connection state point.
|
boolean |
supportsWildcardAddress()
Asks if this proxy can be configured with a wildcard address.
|
String |
toString() |
protected PAPProxy(@Nonnull PAPProxy other)
other
- The other instance.protected PAPProxy(@Nonnull PAPContext context, @Nonnull Origin origin)
context
- The context.origin
- The origin representing the remote.@Nonnull @CheckReturnValue public abstract PAPProxy copy()
public void disconnect()
@Nonnull @CheckReturnValue public PAPConnectionListener getConnectionListener()
@Nonnull @CheckReturnValue public final Optional<Point> getConnectionStatePoint()
@Nonnull @CheckReturnValue public PAPContext getContext()
@Nonnull @CheckReturnValue public final Optional<String> getName()
@Nonnull @CheckReturnValue public final Origin getOrigin()
public final void setConnectionListener(@Nonnull PAPConnectionListener connectionListener)
connectionListener
- The connection listener.@CheckReturnValue public final boolean setConnectionStatePoint(@Nonnull Point connectionStatePoint)
connectionStatePoint
- The connection state point.@CheckReturnValue public boolean supportsWildcardAddress()
public String toString()
toString
in class Object
@Nonnull @CheckReturnValue protected final Logger getThisLogger()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.