Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MITKSOCKETCLIENTIMPLEMENTATION_H
00020 #define MITKSOCKETCLIENTIMPLEMENTATION_H
00021
00022 #include "mitkCommon.h"
00023 #include "MitkExtExports.h"
00024
00025 namespace mitk
00026 {
00027
00028
00029
00030 class MitkExt_EXPORT SocketClientImplementation
00031 {
00032
00033 public:
00034
00035
00036
00037 SocketClientImplementation(){};
00038
00039
00040
00041 virtual ~SocketClientImplementation(){};
00042
00043 virtual void open( const char* ipAdress, unsigned short port )=0;
00044
00045 virtual void setMaxConnectionAdvance( int maxConnectionAdvance )=0;
00046
00047 virtual bool send( unsigned int messagetype, unsigned int bodySize = 0, char* body = NULL )=0;
00048 };
00049
00050 }
00051
00052 #endif