aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/nntp/MCNNTPDisconnectOperation.cc
blob: d269904a83eeb2fe8d490a95b2481c96193f92e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//  MCNNTPDisconnectOperation.cpp
//  mailcore2
//
//  Created by Robert Widmann on 8/13/14.
//  Copyright (c) 2014 MailCore. All rights reserved.
//

#include "MCNNTPDisconnectOperation.h"

#include "MCNNTPAsyncSession.h"
#include "MCNNTPSession.h"

using namespace mailcore;

NNTPDisconnectOperation::NNTPDisconnectOperation()
{
}

NNTPDisconnectOperation::~NNTPDisconnectOperation()
{
}

void NNTPDisconnectOperation::main()
{
    ErrorCode error;
    
    session()->session()->checkAccount(&error);
    setError(error);
}