1 // Requests.cpp 2 3 #include "Requests.h" 4 5 // constructor 6 RequestVisitor::RequestVisitor() 7 { 8 } 9 10 // destructor 11 RequestVisitor::~RequestVisitor() 12 { 13 } 14 15 // VisitConnectionBrokenRequest 16 status_t 17 RequestVisitor::VisitConnectionBrokenRequest(ConnectionBrokenRequest* request) 18 { 19 return VisitAny(request); 20 } 21 22 // VisitInitConnectionRequest 23 status_t 24 RequestVisitor::VisitInitConnectionRequest(InitConnectionRequest* request) 25 { 26 return VisitAny(request); 27 } 28 29 // VisitInitConnectionReply 30 status_t 31 RequestVisitor::VisitInitConnectionReply(InitConnectionReply* request) 32 { 33 return VisitAny(request); 34 } 35 36 // VisitMountRequest 37 status_t 38 RequestVisitor::VisitMountRequest(MountRequest* request) 39 { 40 return VisitAny(request); 41 } 42 43 // VisitMountReply 44 status_t 45 RequestVisitor::VisitMountReply(MountReply* request) 46 { 47 return VisitAny(request); 48 } 49 50 // VisitUnmountRequest 51 status_t 52 RequestVisitor::VisitUnmountRequest(UnmountRequest* request) 53 { 54 return VisitAny(request); 55 } 56 57 // VisitReadVNodeRequest 58 status_t 59 RequestVisitor::VisitReadVNodeRequest(ReadVNodeRequest* request) 60 { 61 return VisitAny(request); 62 } 63 64 // VisitReadVNodeReply 65 status_t 66 RequestVisitor::VisitReadVNodeReply(ReadVNodeReply* request) 67 { 68 return VisitAny(request); 69 } 70 71 // VisitWriteStatRequest 72 status_t 73 RequestVisitor::VisitWriteStatRequest(WriteStatRequest* request) 74 { 75 return VisitAny(request); 76 } 77 78 // VisitWriteStatReply 79 status_t 80 RequestVisitor::VisitWriteStatReply(WriteStatReply* request) 81 { 82 return VisitAny(request); 83 } 84 85 // VisitCreateFileRequest 86 status_t 87 RequestVisitor::VisitCreateFileRequest(CreateFileRequest* request) 88 { 89 return VisitAny(request); 90 } 91 92 // VisitCreateFileReply 93 status_t 94 RequestVisitor::VisitCreateFileReply(CreateFileReply* request) 95 { 96 return VisitAny(request); 97 } 98 99 // VisitOpenRequest 100 status_t 101 RequestVisitor::VisitOpenRequest(OpenRequest* request) 102 { 103 return VisitAny(request); 104 } 105 106 // VisitOpenReply 107 status_t 108 RequestVisitor::VisitOpenReply(OpenReply* request) 109 { 110 return VisitAny(request); 111 } 112 113 // VisitCloseRequest 114 status_t 115 RequestVisitor::VisitCloseRequest(CloseRequest* request) 116 { 117 return VisitAny(request); 118 } 119 120 // VisitCloseReply 121 status_t 122 RequestVisitor::VisitCloseReply(CloseReply* request) 123 { 124 return VisitAny(request); 125 } 126 127 // VisitReadRequest 128 status_t 129 RequestVisitor::VisitReadRequest(ReadRequest* request) 130 { 131 return VisitAny(request); 132 } 133 134 // VisitReadReply 135 status_t 136 RequestVisitor::VisitReadReply(ReadReply* request) 137 { 138 return VisitAny(request); 139 } 140 141 // VisitWriteRequest 142 status_t 143 RequestVisitor::VisitWriteRequest(WriteRequest* request) 144 { 145 return VisitAny(request); 146 } 147 148 // VisitWriteReply 149 status_t 150 RequestVisitor::VisitWriteReply(WriteReply* request) 151 { 152 return VisitAny(request); 153 } 154 155 // VisitCreateLinkRequest 156 status_t 157 RequestVisitor::VisitCreateLinkRequest(CreateLinkRequest* request) 158 { 159 return VisitAny(request); 160 } 161 162 // VisitCreateLinkReply 163 status_t 164 RequestVisitor::VisitCreateLinkReply(CreateLinkReply* request) 165 { 166 return VisitAny(request); 167 } 168 169 // VisitUnlinkRequest 170 status_t 171 RequestVisitor::VisitUnlinkRequest(UnlinkRequest* request) 172 { 173 return VisitAny(request); 174 } 175 176 // VisitUnlinkReply 177 status_t 178 RequestVisitor::VisitUnlinkReply(UnlinkReply* request) 179 { 180 return VisitAny(request); 181 } 182 183 // VisitCreateSymlinkRequest 184 status_t 185 RequestVisitor::VisitCreateSymlinkRequest(CreateSymlinkRequest* request) 186 { 187 return VisitAny(request); 188 } 189 190 // VisitCreateSymlinkReply 191 status_t 192 RequestVisitor::VisitCreateSymlinkReply(CreateSymlinkReply* request) 193 { 194 return VisitAny(request); 195 } 196 197 // VisitReadLinkRequest 198 status_t 199 RequestVisitor::VisitReadLinkRequest(ReadLinkRequest* request) 200 { 201 return VisitAny(request); 202 } 203 204 // VisitReadLinkReply 205 status_t 206 RequestVisitor::VisitReadLinkReply(ReadLinkReply* request) 207 { 208 return VisitAny(request); 209 } 210 211 // VisitRenameRequest 212 status_t 213 RequestVisitor::VisitRenameRequest(RenameRequest* request) 214 { 215 return VisitAny(request); 216 } 217 218 // VisitRenameReply 219 status_t 220 RequestVisitor::VisitRenameReply(RenameReply* request) 221 { 222 return VisitAny(request); 223 } 224 225 // VisitMakeDirRequest 226 status_t 227 RequestVisitor::VisitMakeDirRequest(MakeDirRequest* request) 228 { 229 return VisitAny(request); 230 } 231 232 // VisitMakeDirReply 233 status_t 234 RequestVisitor::VisitMakeDirReply(MakeDirReply* request) 235 { 236 return VisitAny(request); 237 } 238 239 // VisitRemoveDirRequest 240 status_t 241 RequestVisitor::VisitRemoveDirRequest(RemoveDirRequest* request) 242 { 243 return VisitAny(request); 244 } 245 246 // VisitRemoveDirReply 247 status_t 248 RequestVisitor::VisitRemoveDirReply(RemoveDirReply* request) 249 { 250 return VisitAny(request); 251 } 252 253 // VisitOpenDirRequest 254 status_t 255 RequestVisitor::VisitOpenDirRequest(OpenDirRequest* request) 256 { 257 return VisitAny(request); 258 } 259 260 // VisitOpenDirReply 261 status_t 262 RequestVisitor::VisitOpenDirReply(OpenDirReply* request) 263 { 264 return VisitAny(request); 265 } 266 267 // VisitReadDirRequest 268 status_t 269 RequestVisitor::VisitReadDirRequest(ReadDirRequest* request) 270 { 271 return VisitAny(request); 272 } 273 274 // VisitReadDirReply 275 status_t 276 RequestVisitor::VisitReadDirReply(ReadDirReply* request) 277 { 278 return VisitAny(request); 279 } 280 281 // VisitWalkRequest 282 status_t 283 RequestVisitor::VisitWalkRequest(WalkRequest* request) 284 { 285 return VisitAny(request); 286 } 287 288 // VisitWalkReply 289 status_t 290 RequestVisitor::VisitWalkReply(WalkReply* request) 291 { 292 return VisitAny(request); 293 } 294 295 // VisitMultiWalkRequest 296 status_t 297 RequestVisitor::VisitMultiWalkRequest(MultiWalkRequest* request) 298 { 299 return VisitAny(request); 300 } 301 302 // VisitMultiWalkReply 303 status_t 304 RequestVisitor::VisitMultiWalkReply(MultiWalkReply* request) 305 { 306 return VisitAny(request); 307 } 308 309 // VisitOpenAttrDirRequest 310 status_t 311 RequestVisitor::VisitOpenAttrDirRequest(OpenAttrDirRequest* request) 312 { 313 return VisitAny(request); 314 } 315 316 // VisitOpenAttrDirReply 317 status_t 318 RequestVisitor::VisitOpenAttrDirReply(OpenAttrDirReply* request) 319 { 320 return VisitAny(request); 321 } 322 323 // VisitReadAttrDirRequest 324 status_t 325 RequestVisitor::VisitReadAttrDirRequest(ReadAttrDirRequest* request) 326 { 327 return VisitAny(request); 328 } 329 330 // VisitReadAttrDirReply 331 status_t 332 RequestVisitor::VisitReadAttrDirReply(ReadAttrDirReply* request) 333 { 334 return VisitAny(request); 335 } 336 337 // VisitReadAttrRequest 338 status_t 339 RequestVisitor::VisitReadAttrRequest(ReadAttrRequest* request) 340 { 341 return VisitAny(request); 342 } 343 344 // VisitReadAttrReply 345 status_t 346 RequestVisitor::VisitReadAttrReply(ReadAttrReply* request) 347 { 348 return VisitAny(request); 349 } 350 351 // VisitWriteAttrRequest 352 status_t 353 RequestVisitor::VisitWriteAttrRequest(WriteAttrRequest* request) 354 { 355 return VisitAny(request); 356 } 357 358 // VisitWriteAttrReply 359 status_t 360 RequestVisitor::VisitWriteAttrReply(WriteAttrReply* request) 361 { 362 return VisitAny(request); 363 } 364 365 // VisitRemoveAttrRequest 366 status_t 367 RequestVisitor::VisitRemoveAttrRequest(RemoveAttrRequest* request) 368 { 369 return VisitAny(request); 370 } 371 372 // VisitRemoveAttrReply 373 status_t 374 RequestVisitor::VisitRemoveAttrReply(RemoveAttrReply* request) 375 { 376 return VisitAny(request); 377 } 378 379 // VisitRenameAttrRequest 380 status_t 381 RequestVisitor::VisitRenameAttrRequest(RenameAttrRequest* request) 382 { 383 return VisitAny(request); 384 } 385 386 // VisitRenameAttrReply 387 status_t 388 RequestVisitor::VisitRenameAttrReply(RenameAttrReply* request) 389 { 390 return VisitAny(request); 391 } 392 393 // VisitStatAttrRequest 394 status_t 395 RequestVisitor::VisitStatAttrRequest(StatAttrRequest* request) 396 { 397 return VisitAny(request); 398 } 399 400 // VisitStatAttrReply 401 status_t 402 RequestVisitor::VisitStatAttrReply(StatAttrReply* request) 403 { 404 return VisitAny(request); 405 } 406 407 // VisitOpenQueryRequest 408 status_t 409 RequestVisitor::VisitOpenQueryRequest(OpenQueryRequest* request) 410 { 411 return VisitAny(request); 412 } 413 414 // VisitOpenQueryReply 415 status_t 416 RequestVisitor::VisitOpenQueryReply(OpenQueryReply* request) 417 { 418 return VisitAny(request); 419 } 420 421 // VisitReadQueryRequest 422 status_t 423 RequestVisitor::VisitReadQueryRequest(ReadQueryRequest* request) 424 { 425 return VisitAny(request); 426 } 427 428 // VisitReadQueryReply 429 status_t 430 RequestVisitor::VisitReadQueryReply(ReadQueryReply* request) 431 { 432 return VisitAny(request); 433 } 434 435 // VisitNodeMonitoringRequest 436 status_t 437 RequestVisitor::VisitNodeMonitoringRequest(NodeMonitoringRequest* request) 438 { 439 return VisitAny(request); 440 } 441 442 // VisitEntryCreatedRequest 443 status_t 444 RequestVisitor::VisitEntryCreatedRequest(EntryCreatedRequest* request) 445 { 446 return VisitNodeMonitoringRequest(request); 447 } 448 449 // VisitEntryRemovedRequest 450 status_t 451 RequestVisitor::VisitEntryRemovedRequest(EntryRemovedRequest* request) 452 { 453 return VisitNodeMonitoringRequest(request); 454 } 455 456 // VisitEntryMovedRequest 457 status_t 458 RequestVisitor::VisitEntryMovedRequest(EntryMovedRequest* request) 459 { 460 return VisitNodeMonitoringRequest(request); 461 } 462 463 // VisitStatChangedRequest 464 status_t 465 RequestVisitor::VisitStatChangedRequest(StatChangedRequest* request) 466 { 467 return VisitNodeMonitoringRequest(request); 468 } 469 470 // VisitAttributeChangedRequest 471 status_t 472 RequestVisitor::VisitAttributeChangedRequest(AttributeChangedRequest* request) 473 { 474 return VisitNodeMonitoringRequest(request); 475 } 476 477 // VisitServerInfoRequest 478 status_t 479 RequestVisitor::VisitServerInfoRequest(ServerInfoRequest* request) 480 { 481 return VisitAny(request); 482 } 483 484 // VisitAny 485 status_t 486 RequestVisitor::VisitAny(Request* request) 487 { 488 return B_OK; 489 } 490 491