javacommons/comms/ipclib/clientserver/src.s60/creceiver.cpp
branchRCL_3
changeset 66 2455ef1f5bbc
parent 65 ae942d28ec0e
child 71 d5e927d5853b
--- a/javacommons/comms/ipclib/clientserver/src.s60/creceiver.cpp	Tue Aug 31 15:09:22 2010 +0300
+++ b/javacommons/comms/ipclib/clientserver/src.s60/creceiver.cpp	Wed Sep 01 12:33:18 2010 +0100
@@ -33,20 +33,8 @@
 CReceiver::CReceiver(IpcClient& aParent, IpcListener& aListener, RComms& aSession)
         : CActive(EPriorityStandard), mParent(aParent), mListener(aListener), mSession(aSession)
 {
-}
-
-CReceiver* CReceiver::NewLC(IpcClient& aParent, IpcListener& aListener, RComms& aSession)
-{
-    CReceiver* self = new(ELeave) CReceiver(aParent, aListener, aSession);
-    CleanupStack::PushL(self);
-    self->ConstructL();
-    return self;
-}
-
-void CReceiver::ConstructL()
-{
     CActiveScheduler::Add(this);
-    mBuffer.CreateL(DEFAULT_BUFFER_SIZE);
+    mBuffer.Create(DEFAULT_BUFFER_SIZE);
 }
 
 CReceiver::~CReceiver()