javacommons/comms/src/commsserverendpoint.cpp
changeset 87 1627c337e51e
parent 21 2a9601315dfc
equal deleted inserted replaced
80:d6dafc5d983f 87:1627c337e51e
    77     char* buf = aMessage.toByteArray();
    77     char* buf = aMessage.toByteArray();
    78     int rc =  mIpc->send(reinterpret_cast<ipcMessage_t*>(buf));
    78     int rc =  mIpc->send(reinterpret_cast<ipcMessage_t*>(buf));
    79     return rc;
    79     return rc;
    80 }
    80 }
    81 
    81 
    82 OS_EXPORT int CommsServerEndpoint::detachFromVm()
    82 OS_EXPORT int CommsServerEndpoint::detachFromVm(JNIEnv* aEnv)
    83 {
    83 {
    84     JELOG2(EJavaComms);
    84     JELOG2(EJavaComms);
    85     CommsEndpoint::detachFromVm();
    85     CommsEndpoint::detachFromVm(aEnv);
    86 
    86 
    87     int rc = stop();
    87     int rc = stop();
    88     rc = start(mAddress);
    88     rc = start(mAddress);
    89 
    89 
    90     return rc;
    90     return rc;