在研究Smack的源代码的时候,我对它的连接Connection以及派生类XMPPConnection的关注是最多的,因为一个即时通信程序,它的网络模块必是它的核心。而我很在乎它是如何实现的。
在收发数据包的时候,我看到了队列的身影。BlockingQueue和ArrayBlockingQueue。所以,我觉得用到什么然后去查阅,去记录,这种方法是比较高效率的。
BlockingQueue是在...
分类:
移动开发 时间:
2014-09-03 16:57:37
阅读次数:
237
一:问题描述GGSCI (source_pc) 64> info allProgram Status Group Lag at Chkpt Time Since ChkptMANAGER RUNNING EXTRACT RUNNING EORA_T1 00:00:00 00:00:06 EXTRAC...
分类:
其他好文 时间:
2014-09-03 16:29:16
阅读次数:
263
进入mysqlserver
如下:
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 810
Server version: 5.6.10 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights rese...
分类:
数据库 时间:
2014-09-03 15:03:46
阅读次数:
243
当批量删除虚拟机时报错如下1、在计算节点的报错信息如下[root@LX-OS-node12~]#tail-f/var/log/neutron/openvswitch-agent.log2014-09-0219:28:27.25236649TRACEneutron.plugins.openvswitch.agent.ovs_neutron_agentFile"/usr/lib/python2.6/site-packages/neutron/agent/secu..
分类:
其他好文 时间:
2014-09-03 13:16:17
阅读次数:
624
列举一下需要的资源:
1、mySql数据库安装好的
2、iReport+jasperreport配置好
3、我用的是Myeclipse,MySQL的驱动jar包不要忘记
第一部分:创建数据库连接
package com.mySqlsource;
import java.sql.Connection;
public class Database {
private String db...
分类:
数据库 时间:
2014-09-03 13:13:06
阅读次数:
268
安装 npm?install?ws 服务端 server.js var?WebSocketServer?=?require(‘ws‘).Server
??,?wss?=?new?WebSocketServer({port:?8080});
wss.on(‘connection‘,?function(ws)?{
????ws.on(‘messag...
分类:
Web程序 时间:
2014-09-03 09:46:06
阅读次数:
188
1 package it.cast.jdbc; 2 3 import java.sql.Connection; 4 import java.sql.ParameterMetaData; 5 import java.sql.PreparedStatement; 6 import java.sql......
分类:
其他好文 时间:
2014-09-03 00:18:15
阅读次数:
294
1 package it.cast.jdbc; 2 3 import java.sql.Connection; 4 import java.sql.DatabaseMetaData; 5 import java.sql.Date; 6 import java.sql.ParameterMetaD.....
分类:
数据库 时间:
2014-09-03 00:05:15
阅读次数:
403
本demo使用jQuery包,实现表格列宽可拖拽功能,并实现页面reset时的重新布局。使用jQuery,方便函数的调用,给要处理的表格添加id 后,直接调用$("#id").movedTh()即可方便实现,修改了firfox的兼容性。代码如下:[javascript]view plaincopy'...
分类:
Web程序 时间:
2014-09-02 17:25:35
阅读次数:
359
配置实例 – 1 --> org.hibernate.connection.ProxoolConnectionProvider dbProxool proxool-config.xml --> ...
分类:
移动开发 时间:
2014-09-02 14:06:54
阅读次数:
326