1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: dlp_ServerWithName.h 4 5 Copyright (C)2009-2012 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev:$ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_DLP_CTR_DLP_SERVER_WITH_NAME_H_ 17 #define NN_DLP_CTR_DLP_SERVER_WITH_NAME_H_ 18 19 #include <nn/dlp/CTR/dlp_Type.h> 20 #include <nn/cfg.h> 21 22 #ifdef __cplusplus 23 24 namespace nn { 25 namespace dlp { 26 namespace CTR { 27 28 /* 29 30 */ 31 class ServerWithName : public Server 32 { 33 public: ServerWithName()34 ServerWithName() {}; ~ServerWithName()35 ~ServerWithName() {}; 36 37 38 /* 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 */ 75 static nn::Result Initialize( 76 bool* pNotice, 77 nn::Handle eventHandle, 78 u8 maxClientNum, 79 u8 childIndex, 80 void* pBuffer, 81 size_t bufferSize, 82 size_t blockBufferSize = MIN_NETWORK_BLOCK_BUFFER_SIZE * 2, 83 size_t blockBufferNum = MIN_NETWORK_BLOCK_BUFFER_NUM, 84 nn::cfg::UserName* pUserName = NULL ); 85 86 87 /* 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 */ 123 static nn::Result Initialize( 124 nn::Handle eventHandle, 125 u8 maxClientNum, 126 u8 childIndex, 127 void* pBuffer, 128 size_t bufferSize, 129 size_t blockBufferSize = MIN_NETWORK_BLOCK_BUFFER_SIZE * 2, 130 size_t blockBufferNum = MIN_NETWORK_BLOCK_BUFFER_NUM, 131 nn::cfg::UserName* pUserName = NULL ); 132 133 }; 134 135 } // namespace CTR 136 } // namespace dlp 137 } // namespace nn 138 139 140 #endif // __cplusplus 141 #endif // ifndef NN_DLP_CTR_DLP_SERVER_WITH_NAME_H_ 142 143