This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
#include <string.h> | |
struct hssv | |
{ | |
char hoten[50]; | |
char lop[10]; | |
int mssv; | |
int dtk; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.rabbitmq.client.*; | |
public class Publisher { | |
private static final String EXCHANGE_NAME = "topic_test"; | |
public static void main(String[] argv) throws Exception { | |
ConnectionFactory factory = new ConnectionFactory(); | |
factory.setHost("localhost"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.rabbitmq.client.*; | |
import java.io.IOException; | |
import java.util.concurrent.TimeUnit; | |
public class Subscriber { | |
private static final String EXCHANGE_NAME = "topic_test"; | |
private static final String queueName = "Foo Queue"; | |
public static void main(String[] argv) throws Exception { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.rabbitmq.client.*; | |
import java.io.IOException; | |
import java.util.concurrent.TimeUnit; | |
public class Subcriber { | |
private static final String EXCHANGE_NAME = "topic_test"; | |
private static final String queueName = "Foo Queue"; | |
public static void main(String[] argv) throws Exception { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"roadId":123456, | |
"time":142423578, | |
"event":[ | |
{ | |
"roadId":123456, | |
"type":1, | |
"street":"Láng", | |
"info":"Tắc đường từ sáng đến tối", | |
"date":"142423512" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"time":142423512, | |
"up":[ | |
{ | |
"sectionId":123, | |
"sectionName":"Lào - Lào cai", | |
"travelTime":15, | |
"situation":"Ngon" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"roadId":123456, | |
"time":142423578, | |
"streetEvents":[ | |
{ | |
"id":12313, | |
"type":1, | |
"level":3, | |
"startLocation":12, | |
"endLocation":20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"roadId":123456, | |
"time":142423578, | |
"cameras":[ | |
{ | |
"id":11100063, | |
"type":"CCTV 1", | |
"name":"camera ql1 km 20", | |
"location":20.2, | |
"link":"rtsp://192.168.7.70:534/11100063" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Distributed as part of c3p0 v.0.9.5.2 | |
* | |
* Copyright (C) 2015 Machinery For Change, Inc. | |
* | |
* Author: Steve Waldman <[email protected]> | |
* | |
* This library is free software; you can redistribute it and/or modify | |
* it under the terms of EITHER: | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rmq-config> | |
<connection> | |
<host>localhost</host> | |
<port>5672</port> | |
<username>guest</username> | |
<password>guest</password> | |
<retry-policy> |