litestomp
Functions | Variables
stomp_engine.h File Reference
#include <stdlib.h>
#include <string.h>
#include <apr-1/apr.h>
#include <apr-1/apr_strings.h>
#include <apr-1/apr_general.h>
#include <apr-1/apr_network_io.h>
#include <apr-1/apr_hash.h>
#include "stomp_connection.h"
#include "stomp_frame.h"
#include "stomp_io.h"
#include "stomp_status.h"

Go to the source code of this file.

Functions

 APR_DECLARE (apr_status_t) stomp_engine_connect(stomp_connection **connection_ref
 
stomp_status_t stomp_engine_last_status ()
 

Variables

const char * hostname
 
const char int port
 
const char int apr_pool_t * pool
 
apr_int64_t timeout
 

Function Documentation

APR_DECLARE ( apr_status_t  )

Copyright 2005 LogicBlaze Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


The original content of this file has been modified to that it was split in different files: stomp_io.c, stomp_io.h, stomp_connection.h, stomp_frame.h.

This file, itself, was renamed from stomp.c to stomp_engine.h. Additionally the contents of this file were modified in order to match the project formatting guidelines and add documentation. Connects to the broker using the low level connection engine

Parameters
connection_ref
hostname
port
pool
Returns

Sets blocking mode

Parameters
connection_ref
timeoutin microseconds
Returns

Disconnects from the broker using the low level connection engine

Parameters
connection_ref
hostname
port
pool
Returns
stomp_status_t stomp_engine_last_status ( )

Gets the last stomp engine status

Returns
The last status

Variable Documentation

const char* hostname
stomp_frame apr_pool_t * pool
const char int port
apr_int64_t timeout