1. SDP 1.1 服务概述 SDP, Service Discovery Protocol,服务发现协议。 1.1.1 概念 SDP提供了一种用于发现服务及这些可用服务属性的方法,但它不提供利用这些服务的机制。其架构是Client-Server模式,如下图所示: SDP Server维护了一个服 ...
分类:
其他好文 时间:
2016-10-04 14:07:43
阅读次数:
842
实验要求:分别划分inside(内网),outside(外网),dmz(服务器区)三个区配置PAT,直接使用outside接口的ip地址进行转换配置静态NAT,发布内网服务器启用NAT控制,配置NAT豁免,内网访问dmz区中的主机时,不做NAT转换R1配置:R1#conftEnterconfigurationcommands,oneperlin..
分类:
其他好文 时间:
2016-10-04 07:59:24
阅读次数:
183
原文:https://developers.google.com/protocol-buffers/docs/gotutorial 1.proto3文档:https://developers.google.com/protocol-buffers/docs/proto3go api文档:https: ...
分类:
其他好文 时间:
2016-10-04 01:39:24
阅读次数:
856
<%@page language=”java” contentType=”text/html;charset=gb2312” session=”true” buffer=”64kb”autoFlush=”true” isThreadSafe=”true” info=”text” errorPage= ...
分类:
Web程序 时间:
2016-10-04 01:32:16
阅读次数:
172
web访问的两种方式: http协议,我们一般情况下是通过它访问web,因为它不要求太多的安全机制,使用起来也简单,很多web站点也只支持这种方式下的访问. https协议(Hypertext Transfer Protocol over Secure Socket Layer),对于安全性要求比较 ...
分类:
Web程序 时间:
2016-10-03 23:36:35
阅读次数:
1272
1.MMU功能 将虚拟地址转化为物理地址;访问权限管理。 2.地址转化 2.1 总体分析 2.2 一级转换格式 位解释:(段设置) B:表示是否使能write buffer; C: 表示是否开启cache; XN(The Execute-Never ):determines if the regio ...
分类:
其他好文 时间:
2016-10-03 06:50:58
阅读次数:
170
背景: 在阅读hadoop源代码过程中会发现部分类或者函数无法找到,这是由于Hadoop2.0使用了Protocol Buffers定义了RPC协议, 而这些Protocol Buffers文件在Maven编译源代码才会生成对应的java类,因此若其他类在源代码中引用这些类则暂时无法找到。 解决办法 ...
分类:
其他好文 时间:
2016-10-02 00:21:33
阅读次数:
161
import java.nio.IntBuffer ;public class IntBufferDemo01{ public static void main(String args[]){ IntBuffer buf = IntBuffer.allocate(10) ; // 准备出10个大小的 ...
分类:
编程语言 时间:
2016-09-30 23:38:11
阅读次数:
194
Java NIO提供了与标准IO不同的IO工作方式: Channels and Buffers(通道和缓冲区):标准的IO基于字节流和字符流进行操作的,而NIO是基于通道(Channel)和缓冲区(Buffer)进行操作,数据总是从通道读取到缓冲区中,或者从缓冲区写入到通道中。 Asynchrono ...
分类:
编程语言 时间:
2016-09-30 18:13:45
阅读次数:
185
A_PCI Application layer Protocol Control Information应用层协议控制消息。 A_PDU Application layer Protocol Data Unit应用层协议数据单元 A_SDU Application layer Service Dat ...
分类:
其他好文 时间:
2016-09-30 09:48:35
阅读次数:
159