javacommons/comms/ipclib/clientserver/src.s60/creceiver.h
branchRCL_3
changeset 71 d5e927d5853b
parent 66 2455ef1f5bbc
child 83 26b2b12093af
equal deleted inserted replaced
66:2455ef1f5bbc 71:d5e927d5853b
    29 class IpcListener;
    29 class IpcListener;
    30 class IpcClient;
    30 class IpcClient;
    31 
    31 
    32 NONSHARABLE_CLASS(CReceiver): public CActive
    32 NONSHARABLE_CLASS(CReceiver): public CActive
    33 {
    33 {
       
    34     CReceiver(IpcClient& aParent, IpcListener& aListener, RComms& aSession);
    34 public:
    35 public:
    35     CReceiver(IpcClient& aParent, IpcListener& aListener, RComms& aSession);
    36     static CReceiver* NewLC(IpcClient& aParent, IpcListener& aListener, RComms& aSession);
       
    37 
    36     ~CReceiver();
    38     ~CReceiver();
    37     void Receive();
    39     void Receive();
    38 
    40 
    39 private:
    41 private:
       
    42     void ConstructL();
       
    43 
    40     virtual void RunL();
    44     virtual void RunL();
    41     virtual void DoCancel();
    45     virtual void DoCancel();
    42     virtual TInt RunError(TInt aError);
    46     virtual TInt RunError(TInt aError);
    43 
    47 
    44     IpcClient&      mParent;
    48     IpcClient&      mParent;