public class PlatformServices extends PlatformAbstractTarget
ERROR, FALSE, log, platformCtx, TRUE
Constructor and Description |
---|
PlatformServices(PlatformContext platformCtx,
IgniteServices services,
boolean srvKeepBinary)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
long |
processInLongOutLong(int type,
long val)
Process IN operation.
|
PlatformTarget |
processInObjectStreamOutObjectStream(int type,
PlatformTarget arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
long |
processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
PlatformTarget |
processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
void |
processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
processOutObject(int type)
Process OUT operation.
|
void |
processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
convertException, platformContext, processInStreamAsync, processInStreamOutLong, readAndListenFuture, readAndListenFuture, readAndListenFuture, readAndListenFuture, wrapListenable
public PlatformServices(PlatformContext platformCtx, IgniteServices services, boolean srvKeepBinary)
platformCtx
- Context.services
- Services facade.srvKeepBinary
- Server keep binary flag.public long processInStreamOutLong(int type, BinaryRawReaderEx reader) throws IgniteCheckedException
processInStreamOutLong
in interface PlatformTarget
processInStreamOutLong
in class PlatformAbstractTarget
type
- Type.reader
- Binary reader.IgniteCheckedException
- In case of exception.public void processInStreamOutStream(int type, BinaryRawReaderEx reader, BinaryRawWriterEx writer) throws IgniteCheckedException
processInStreamOutStream
in interface PlatformTarget
processInStreamOutStream
in class PlatformAbstractTarget
type
- Type.reader
- Binary reader.writer
- Binary writer.IgniteCheckedException
- In case of exception.public PlatformTarget processInObjectStreamOutObjectStream(int type, PlatformTarget arg, BinaryRawReaderEx reader, BinaryRawWriterEx writer) throws IgniteCheckedException
processInObjectStreamOutObjectStream
in interface PlatformTarget
processInObjectStreamOutObjectStream
in class PlatformAbstractTarget
type
- Type.arg
- Argument.reader
- Binary reader.writer
- Binary writer.IgniteCheckedException
- In case of exception.public void processOutStream(int type, BinaryRawWriterEx writer) throws IgniteCheckedException
processOutStream
in interface PlatformTarget
processOutStream
in class PlatformAbstractTarget
type
- Type.writer
- Binary writer.IgniteCheckedException
- In case of exception.public PlatformTarget processOutObject(int type) throws IgniteCheckedException
processOutObject
in interface PlatformTarget
processOutObject
in class PlatformAbstractTarget
type
- Type.IgniteCheckedException
- In case of exception.public long processInLongOutLong(int type, long val) throws IgniteCheckedException
processInLongOutLong
in interface PlatformTarget
processInLongOutLong
in class PlatformAbstractTarget
type
- Type.val
- Value.IgniteCheckedException
- In case of exception.public PlatformTarget processInStreamOutObject(int type, BinaryRawReaderEx reader) throws IgniteCheckedException
processInStreamOutObject
in interface PlatformTarget
processInStreamOutObject
in class PlatformAbstractTarget
type
- Type.reader
- Binary reader.IgniteCheckedException
- In case of exception.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017