/**
* Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative
* value Smack tries the absolute value and all following until it finds an open port.
...
分类:
其他好文 时间:
2014-09-07 03:18:54
阅读次数:
250
/**
* Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative
* value Smack tries the absolute value and all following until it finds an open port.
...
分类:
其他好文 时间:
2014-09-07 03:18:44
阅读次数:
207
vector容器类型
vector容器是一个模板类,可以存放任何类型的对象(但必须是同一类对象)。vector对象可以在运行时高效地添加元素,并且vector中元素是连续存储的。
vector的构造
函数原型:
template
explicit vector(); // 默认构造函数,vector对象为空...
分类:
编程语言 时间:
2014-09-07 02:13:24
阅读次数:
253
项目中的的spring出现问题,不想使用spring框架进行注入,编写一个简单的spring,实现xml解析和类的注入。所有的框架都可以用java项目,用到了java提供的基础类,所以用到的原理也就呢么多(我刚开始工作2个月,说的不对请谅解)。因此spring用到了注入用到java中的反射机制,aop用到了java的代理机制proxy对象。总结一下自己的设计:
设计范围三层:
第一层是实体层,...
分类:
编程语言 时间:
2014-09-06 16:08:33
阅读次数:
303
错误页面提示could not initialize proxy - no Session控制台org.hibernate.LazyInitializationException: could not initialize proxy - no Session病症:这是一个lazy使用后的Excep...
分类:
系统相关 时间:
2014-09-05 17:45:31
阅读次数:
191
Linux系统(此文中使用的是CentOS6.4)主机作为客户端,在一个具有网路代理的网路环境中,访问网络时有如下几个地方需做客户端代理配置:1、图形界面下设置网络代理2、系统中的环境变量设置网络代理3、使用YUM时的代理设置4、应用程序本身的代理设置1、图形界面下的网络代理系..
分类:
系统相关 时间:
2014-09-04 19:22:30
阅读次数:
319
原文地址:
public member function
std::thread::thread
default (1)
thread() noexcept;
initialization (2)
template
explicit thread (Fn&& fn, Args&&... args);
c...
分类:
编程语言 时间:
2014-09-03 22:44:07
阅读次数:
435
代理(proxy)是用来加载和存取Model 数据的。在开发过程中,我们一般不会直接操作代理,它会很好的配合Store 完成工作,所以在本节内容中,我们主要讲解各种proxy的用法。 代理(proxy)分为两大类:客户端代理和...
分类:
Web程序 时间:
2014-09-03 18:31:17
阅读次数:
421
public class HttpHelper { private static CookieContainer _cc = new CookieContainer(); private static WebProxy _proxy; private st...
分类:
其他好文 时间:
2014-09-03 11:05:26
阅读次数:
254