ctkMessagingServer.cpp

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Library:   CTK
00004  
00005   Copyright (c) 2010  Kitware Inc.
00006 
00007   Licensed under the Apache License, Version 2.0 (the "License");
00008   you may not use this file except in compliance with the License.
00009   You may obtain a copy of the License at
00010 
00011       http://www.commontk.org/LICENSE
00012 
00013   Unless required by applicable law or agreed to in writing, software
00014   distributed under the License is distributed on an "AS IS" BASIS,
00015   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016   See the License for the specific language governing permissions and
00017   limitations under the License.
00018  
00019 =========================================================================*/
00020 
00021 // ZMQ includes
00022 
00023 // ctkDICOM includes
00024 #include "ctkMessagingServer.h"
00025 
00026 // STD includes
00027 #include <iostream>
00028 
00029 
00030 //------------------------------------------------------------------------------
00031 ctkMessagingServer::ctkMessagingServer()
00032 {
00033   zmq::context_t ctx (1, 1);
00034 
00035   // Create a PUB socket for port 5555 on the lo interface
00036   zmq::socket_t s(ctx, ZMQ_PUB);
00037   //s.bind ("tcp://lo0:5555");
00038 }
00039 
00040 //----------------------------------------------------------------------------
00041 ctkMessagingServer::~ctkMessagingServer()
00042 {
00043 }
00044 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 21 May 2010 for CTK by  doxygen 1.6.1