public class IpcSharedMemoryInitResponse extends Object implements Externalizable
| Constructor and Description |
|---|
IpcSharedMemoryInitResponse()
Required by
Externalizable. |
IpcSharedMemoryInitResponse(Exception err)
Constructs an error response.
|
IpcSharedMemoryInitResponse(String inTokFileName,
int inSharedMemId,
String outTokFileName,
int outSharedMemId,
int pid,
int size)
Constructs a successful response.
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
error() |
int |
inSharedMemoryId() |
String |
inTokenFileName() |
int |
outSharedMemoryId() |
String |
outTokenFileName() |
int |
pid() |
void |
readExternal(ObjectInput in) |
int |
size() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public IpcSharedMemoryInitResponse(String inTokFileName, int inSharedMemId, String outTokFileName, int outSharedMemId, int pid, int size)
inTokFileName - In token.inSharedMemId - In shared memory ID.outTokFileName - Out token.outSharedMemId - Out shared memory ID.pid - PID of the server party.size - Size.public IpcSharedMemoryInitResponse(Exception err)
err - Error cause.public IpcSharedMemoryInitResponse()
Externalizable.@Nullable public String inTokenFileName()
null, if this is an error response.public int inSharedMemoryId()
@Nullable public String outTokenFileName()
null, if this is an error response.public int outSharedMemoryId()
public int pid()
public int size()
@Nullable public Exception error()
null, if this is
a successful response.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016