Class PlatformMessaging
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.PlatformAbstractTarget
-
- org.apache.ignite.internal.processors.platform.messaging.PlatformMessaging
-
- All Implemented Interfaces:
PlatformTarget
public class PlatformMessaging extends PlatformAbstractTarget
Interop messaging.
-
-
Field Summary
Fields Modifier and Type Field Description static intOP_LOC_LISTENstatic intOP_REMOTE_LISTENstatic intOP_REMOTE_LISTEN_ASYNCstatic intOP_SENDstatic intOP_SEND_MULTIstatic intOP_SEND_ORDEREDstatic intOP_STOP_LOC_LISTENstatic intOP_STOP_REMOTE_LISTENstatic intOP_STOP_REMOTE_LISTEN_ASYNCstatic intOP_WITH_ASYNC-
Fields inherited from class org.apache.ignite.internal.processors.platform.PlatformAbstractTarget
ERROR, FALSE, log, platformCtx, TRUE
-
-
Constructor Summary
Constructors Constructor Description PlatformMessaging(PlatformContext platformCtx, IgniteMessaging messaging)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longprocessInStreamOutLong(int type, BinaryRawReaderEx reader)Process IN operation.voidprocessInStreamOutStream(int type, BinaryRawReaderEx reader, BinaryRawWriterEx writer)Process IN-OUT operation.PlatformTargetprocessOutObject(int type)Process OUT operation.-
Methods inherited from class org.apache.ignite.internal.processors.platform.PlatformAbstractTarget
convertException, platformContext, processInLongOutLong, processInObjectStreamOutObjectStream, processInStreamAsync, processInStreamOutLong, processInStreamOutObject, processOutStream, readAndListenFuture, readAndListenFuture, readAndListenFuture, throwUnsupported, wrapListenable
-
-
-
-
Field Detail
-
OP_LOC_LISTEN
public static final int OP_LOC_LISTEN
- See Also:
- Constant Field Values
-
OP_REMOTE_LISTEN
public static final int OP_REMOTE_LISTEN
- See Also:
- Constant Field Values
-
OP_SEND
public static final int OP_SEND
- See Also:
- Constant Field Values
-
OP_SEND_MULTI
public static final int OP_SEND_MULTI
- See Also:
- Constant Field Values
-
OP_SEND_ORDERED
public static final int OP_SEND_ORDERED
- See Also:
- Constant Field Values
-
OP_STOP_LOC_LISTEN
public static final int OP_STOP_LOC_LISTEN
- See Also:
- Constant Field Values
-
OP_STOP_REMOTE_LISTEN
public static final int OP_STOP_REMOTE_LISTEN
- See Also:
- Constant Field Values
-
OP_WITH_ASYNC
public static final int OP_WITH_ASYNC
- See Also:
- Constant Field Values
-
OP_REMOTE_LISTEN_ASYNC
public static final int OP_REMOTE_LISTEN_ASYNC
- See Also:
- Constant Field Values
-
OP_STOP_REMOTE_LISTEN_ASYNC
public static final int OP_STOP_REMOTE_LISTEN_ASYNC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PlatformMessaging
public PlatformMessaging(PlatformContext platformCtx, IgniteMessaging messaging)
Ctor.- Parameters:
platformCtx- Context.messaging- Ignite messaging.
-
-
Method Detail
-
processInStreamOutLong
public long processInStreamOutLong(int type, BinaryRawReaderEx reader) throws IgniteCheckedExceptionProcess IN operation.- Specified by:
processInStreamOutLongin interfacePlatformTarget- Overrides:
processInStreamOutLongin classPlatformAbstractTarget- Parameters:
type- Type.reader- Binary reader.- Returns:
- Result.
- Throws:
IgniteCheckedException- In case of exception.
-
processInStreamOutStream
public void processInStreamOutStream(int type, BinaryRawReaderEx reader, BinaryRawWriterEx writer) throws IgniteCheckedExceptionProcess IN-OUT operation.- Specified by:
processInStreamOutStreamin interfacePlatformTarget- Overrides:
processInStreamOutStreamin classPlatformAbstractTarget- Parameters:
type- Type.reader- Binary reader.writer- Binary writer.- Throws:
IgniteCheckedException- In case of exception.
-
processOutObject
public PlatformTarget processOutObject(int type) throws IgniteCheckedException
Process OUT operation.- Specified by:
processOutObjectin interfacePlatformTarget- Overrides:
processOutObjectin classPlatformAbstractTarget- Parameters:
type- Type.- Throws:
IgniteCheckedException- In case of exception.
-
-