|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdkx::rdmi Namespace Reference
Detailed Description
contains a simple Remote DMI Server implementation
|
Compounds |
class | BinaryProtocol |
| BinaryProtocol implements binary read/write. More...
|
class | Connection |
| Connection is a representation of a statefull connection between one server and one client. More...
|
class | ConnectionRefs |
class | LocalObjectRepository |
| The LocalObjectRepository tracks all local objects, which are referenced by remote clients. More...
|
class | ProtocolImpl |
class | RemoteArg |
class | RemoteDmiProxy |
class | RemoteDmiServer |
class | RemoteObjectId |
class | RemoteObjectReferences |
class | ServerImpl |
class | TcpServer |
class | TcpServerConnection |
class | ThreadedConnectionHandler |
Enumerations |
enum | InvokeCmd {
Unexpected = 0x0,
AddRef = 0x02,
ReleaseRef = 0x3,
NewObject = 0x4,
Invoke = 0x5,
InvokeStatic = 0x6,
Peek = 0x7,
PeekStatic = 0x8,
Poke = 0x9,
PokeStatic = 0xA,
ReturnValue = 0xB,
ReturnVoid = 0xC,
ReturnException = 0xD,
AddPersistentRef = 0xE,
ReleasePersistentRef = 0xF,
SetServerId = 0x10,
ShutDown = 0x11,
NoData = 0x1000,
ConnectionClosed = 0x2000
} |
enum | RemoteFlags { WeakInvoke = 0x000001
} |
| combination of flags More...
|
enum | RemoteArgType {
RemoteUnsetType = 0x0,
RemoteIdType = 0x1,
RemoteSerializedType = 0x2,
RemoteStringType = 0x11,
RemoteIntValueType = 0x12,
RemoteBoolValueType = 0x13,
RemoteShortValueType = 0x14,
RemoteByteValueType = 0x15,
RemoteCharValueType = 0x16,
RemoteUcCharValueType = 0x17,
RemoteLongValueType = 0x18,
RemoteFloatValueType = 0x19,
RemoteDoubleValueType = 0x1A,
RemoteArrayValueType = 0x1B
} |
Functions |
RString | getEnumValString (const acdk::lang::dmi::ClazzEnumInfo *ei, int val) |
Variables |
enum | InvokeCmd |
Enumeration Type Documentation
|
- Enumeration values:
-
Unexpected |
|
AddRef |
- Parameters:
-
|
ReleaseRef |
- Parameters:
-
- Returns:
- ReturnValue, int refCount after release
|
NewObject |
- Parameters:
-
ClassName | the Class must be known by the server |
InterfaceName | The Interface must be implemented by server ClassName |
RemoteFlags | |
DmiFlags | combination of acdk::lang::dmi::MetaInfoFlags |
Args | see RemoteArgType |
- Returns:
- ReturnValue
|
Invoke |
- Parameters:
-
remoteObjectId | the this object |
methodName | |
flags | |
Args | |
- Returns:
- ReturnValue return with ReturnVoid, ReturnValue or ReturnException
|
InvokeStatic |
RemoteFlags className methodName DmiFlags Args return with ReturnVoid, ReturnValue or ReturnException. |
Peek |
RemoteFlags remoteObjectId memberName DmiFlags return with ReturnValue or ReturnException. |
PeekStatic |
RemoteFlags clasName memberName DmiFlags return with ReturnValue or ReturnException. |
Poke |
RemoteFlags remoteObjectId memberName DmiFlags return with ReturnVoid or ReturnException. |
PokeStatic |
RemoteFlags className memberName DmiFlags return with ReturnVoid or ReturnException. |
ReturnValue |
RemoteFlags Arg. |
ReturnVoid |
RemoteFlags. |
ReturnException |
|
AddPersistentRef |
keep reference alive on server identpendend if client will close its connection |
ReleasePersistentRef |
|
SetServerId |
the argument is a ServerId (String) of the client This call return the ServerId from the server Normally this is the first call after connted to a server |
ShutDown |
|
NoData |
used not in stream, but in request for polling for available data |
ConnectionClosed |
used not in stream, but in request for polling for available data |
|
|
- Enumeration values:
-
RemoteUnsetType |
|
RemoteIdType |
streamed: RemoteIdType(byte) ServerId(String) Interface(String) ObjectId(int) |
RemoteSerializedType |
streamed: RemoteSerializedType(byte) ClassName(String) SerializedClass(byte[]) first comes type name of serialized class deserialzed type is stored in value.object |
RemoteStringType |
streamed: RemoteStringType(byte) String(String) deserialized type is stored in value.object |
RemoteIntValueType |
streamed: RemoteArgType(byte) value(byte[]) a basic type. |
RemoteBoolValueType |
|
RemoteShortValueType |
|
RemoteByteValueType |
|
RemoteCharValueType |
|
RemoteUcCharValueType |
|
RemoteLongValueType |
|
RemoteFloatValueType |
|
RemoteDoubleValueType |
|
RemoteArrayValueType |
|
|
|
combination of flags
- Enumeration values:
-
WeakInvoke |
it uses weak invoke.
out parameter are not supported |
|
Function Documentation
Variable Documentation
|
|