Interface ForwardTarget
-
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface ForwardTarget
This interface defines a set of methods which may be used to obtain information about a server to which an operation may be forwarded for processing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getForwardTargetAddress()
Retrieves the address of the target server.int
getForwardTargetPort()
Retrieves the port of the target server.java.lang.String
getForwardTargetProtocol()
Retrieves the name of the protocol used to communicate with the target server.
-
-
-
Method Detail
-
getForwardTargetAddress
java.lang.String getForwardTargetAddress()
Retrieves the address of the target server.- Returns:
- The address of the target server.
-
getForwardTargetPort
int getForwardTargetPort()
Retrieves the port of the target server.- Returns:
- The port of the target server.
-
getForwardTargetProtocol
java.lang.String getForwardTargetProtocol()
Retrieves the name of the protocol used to communicate with the target server.- Returns:
- The name of the protocol used to communicate with the target server.
-
-