public class RmiProtocol extends Object
Protocol is transport agnostic (same process, sockets, http, etc.). Protocol uses JSON as data format.
Protocol is NOT responsible for (remote) object (to invoke method on) location.
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_CODE_INVALID_JSON |
static int |
ERROR_CODE_INVALID_PARAMS |
static int |
ERROR_CODE_INVALID_REQUEST |
static int |
ERROR_CODE_JSONRPC_ERROR |
static int |
ERROR_CODE_METHOD_NOT_FOUND |
static int |
ERROR_CODE_OBJECT_NOT_FOUND |
static int |
ERROR_CODE_SERVER_ERROR |
protected static String |
VERSION |
| Constructor and Description |
|---|
RmiProtocol(String objectId,
RmiFacade rmi) |
public static final int ERROR_CODE_INVALID_JSON
public static final int ERROR_CODE_INVALID_REQUEST
public static final int ERROR_CODE_METHOD_NOT_FOUND
public static final int ERROR_CODE_INVALID_PARAMS
public static final int ERROR_CODE_JSONRPC_ERROR
public static final int ERROR_CODE_SERVER_ERROR
public static final int ERROR_CODE_OBJECT_NOT_FOUND
protected static final String VERSION
Copyright © 2015 Sterodium. All rights reserved.