#ifndef _SALOME_COMM_IDL_
#define _SALOME_COMM_IDL_
+#include "SALOME_GenericObj.idl"
#include "SALOME_Exception.idl"
/*!
void release();
};
- interface SenderByte
+ interface SenderByte : GenericObj
{
- unsigned long getSize();
- vectorOfByte sendPart(in unsigned long n1,in unsigned long n2);
+ unsigned long long getSize();
+ vectorOfByte sendPart(in unsigned long long n1,in unsigned long long n2);
};
};
l=traceback.format_exception(exc_typ,exc_val,exc_fr)
raise SALOME.SALOME_Exception(SALOME.ExceptionStruct(SALOME.BAD_PARAM,"".join(l),"PyNode: %s, function: %s" % (self.nodeName,funcName),0))
-class SenderByte_i(SALOME__POA.SenderByte):
- def __init__(self,bytesToSend):
+class SenderByte_i(SALOME__POA.SenderByte,Generic):
+ def __init__(self,poa,bytesToSend):
+ Generic.__init__(self,poa)
self.bytesToSend = bytesToSend
def getSize(self):
raise KeyError("There is no variable %s in context" % arg)
argsout.append(self.context[arg])
argsout=pickle.dumps(tuple(argsout),-1)
- ret = SenderByte_i( argsout )
+ ret = SenderByte_i( self.poa,argsout )
id_o = self.poa.activate_object(ret)
retObj = self.poa.id_to_reference(id_o)
return retObj._narrow( SALOME.SenderByte )