javacommons/comms/ipclib/clientserver/src.s60/creceiver.h
branchRCL_3
changeset 83 26b2b12093af
parent 71 d5e927d5853b
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
    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 public:
    34     CReceiver(IpcClient& aParent, IpcListener& aListener, RComms& aSession);
    35     CReceiver(IpcClient& aParent, IpcListener& aListener, RComms& aSession);
    35 public:
       
    36     static CReceiver* NewLC(IpcClient& aParent, IpcListener& aListener, RComms& aSession);
       
    37 
       
    38     ~CReceiver();
    36     ~CReceiver();
    39     void Receive();
    37     void Receive();
    40 
    38 
    41 private:
    39 private:
    42     void ConstructL();
       
    43 
       
    44     virtual void RunL();
    40     virtual void RunL();
    45     virtual void DoCancel();
    41     virtual void DoCancel();
    46     virtual TInt RunError(TInt aError);
    42     virtual TInt RunError(TInt aError);
    47 
    43 
    48     IpcClient&      mParent;
    44     IpcClient&      mParent;