public class SocketBridge extends BaseCommunicationBridge implements ISocket, APIBridge
apiGroup| Constructor and Description |
|---|
SocketBridge(ISocket delegate)
Constructor with delegate.
|
| Modifier and Type | Method and Description |
|---|---|
ISocket |
getDelegate()
Get the delegate implementation.
|
APIResponse |
invoke(APIRequest request)
Invokes the given method specified in the API request object.
|
void |
setDelegate(ISocket delegate)
Set the delegate implementation.
|
getAPIGroup, getAPIVersion, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic SocketBridge(ISocket delegate)
delegate - The delegate implementing platform specific functions.public final ISocket getDelegate()
public final void setDelegate(ISocket delegate)
delegate - The delegate implementing platform specific functions.public APIResponse invoke(APIRequest request)
invoke in interface APIBridgeinvoke in class BaseCommunicationBridgerequest - APIRequest object containing method name and parameters.