亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? events.sgml.svn-base

?? 網絡模擬器
?? SVN-BASE
字號:
<!doctype linuxdoc system>

<article>

<title>JNS Event Type Documentation
<author>Christian Nentwich (c.nentwich@cs.ucl.ac.uk)
<date>08/03/1999

<abstract>
This file describes the events that are currently built into JNS and gives
a strict description of what parameters must be present in them.
</abstract>

<toc>

<sect>Introduction

<p>
This document introduces you to the different kinds of Events that JNS will
create in response to things occurring in the network. You are strongly
advised to read this document and keep it for references if:
<itemize>
<item>You are writing a new Trace class for JNS, for example a class that
will receive events and count the inter-arrival times of packets.
<item>You are trying to build in support for new protocols and want to send
events when significant state changes in your protocol take place. (You
would of course have to write a Trace class that can receive those events.)
</itemize>

<p>
The class <tt>Event</tt> is a very primitive class. An event in JNS is only 
parameterised by
<itemize>
<item>a name (String)
<item>a time-stamp (double, in seconds)
<item>and a list of parameters
</itemize>

<p>
The <it>name</it> characterises the type of the event. Events are typically
called names like "HopEvent" or "ReceiveEvent". The <it>time-stamp</it> is
necessary because it shows when the event occurred, without it the whole
tracing idea would be pointless.

<p>
The list of parameters contains the meat of the event. It is <it>different
from event to event</it> and  its contents are completely defined by the name
of the event. A list of parameters, well.., is made up by
<tt>EventParameter</tt> objects. Every event parameter contains
<itemize>
<item>a name (String)
<item>a value (Object)
</itemize>

<p>
The <it>name</it> of the parameter describes of what type the <it>value</it> is.
The reason <it>value</it> is an object is because it differs from parameter to
parameter. A parameter like "Source Address" might have an IPAddr object as
a value, another parameter just an Integer object. Note that the <it>name</it>
parameter of any EventParameter <bf>must be case insensitive</bf>. Keep that 
in mind when writing a Trace class that processes events.

<sect>How to Handle Events

<p>
This section will give a brief description of what is involved in handling
events. The answer is really very simple. The trace class you might be
writing will be passed an Event and you have to somehow convert what is
contained in this event into your own format (for example some kind of
trace-file).

<p>You just have to pass through a number of straight-forward steps in order
to accomplish this:
<enum>
<item>Identify the event name and fork - You will want to look at the
<it>name</it> parameter of the event in order to see which event it is and
then execute different bits of code depending on the event type.
<item>Go through the parameters - in the code that handles the special kind
of event it is supposed to, go through the parameters. You <bf>know</bf> which
parameters to expect in a certain type of event because they are all
documented in here.
<item>Look at each parameters name and fork - Depending on the parameter's
name, you will have to treat its value differently
<item>Cast the value - After reaching the required code that can deal with
this parameter, cast the value to the object type it must contain. You may
exit with an error if it doesn't, but it will not (unless strange things
happen..)
</enum>

<p>
That is really all there is to it. If you are still puzzled then I recommend
you read the following sections, which are a catalog to the pre-defined
events in JNS. You are also encouraged to read the source code of the Javis
trace-file writer class (jns.trace.JavisTrace) if you want to find out how to handle
events in practice. In addition, look at the jns.elements.QueueDropTail class
and the jns.util.EventGenerator class if you want to see how events that are
later received by a Trace class are actually generated.


<sect>Packet Events

<p>
Packet Events are generated whenever something significant occurs in
relation to a packet, for example it might be dropped, received, sent, etc.
All Packet events share the following minimum set of parameters you may
extract for your pleasure:
<itemize>
<item>"Source Address" (IPAddr) - the ultimate source IP of the packet
<item>"Destination Address" (IPAddr) - the ultimate destination IP of the packet
<item>"Source Hop" (IPAddr) - the IP of the interface the packet just left
<item>"Destination Hop" (IPAddr) - the IP of the interface at the other end of the
link the packet is travelling on now
<item>"Packet ID" (Integer) - the IP packet id
<item>"Packet Protocol" (Integer) - the higher level protocol the packet is
carrying (constants defined in Protocols.java in jns.util)
<item>"Packet Length" (Integer) - the length of the packet
</itemize>

<p>
Following now are the descriptions of which kinds of packet events exist.

<sect1>HopEvent

<p>
A HopEvent is generated whenever a packet leaves an interface and goes onto
a link. It does not carry any additional parameters, just the generic packet
event parameters.

<sect1>ReceiveEvent

<p>
A ReceiveEvent is generated whenever a packet is received by an interface
from a link. It contains only the generic packet event parameters.

<sect1>EnqueueEvent

<p>
An interface queue will generate an EnqueueEvent whenever a packet is passed
to it from the IP handler (in case of an outgoing interface) or a packet 
is coming in from a link (in case of an incoming interface).
<p>
An EnqueueEvent contains all the Packet Event parameters plus the following
additional ones:
<itemize> 
<item>"Queue Length" (Integer) - The length of the queue in bytes after
enqueueing the packet
</itemize>


<sect1>DequeueEvent

<p>
An interface queue will generate a DequeueEvent whenever a packet is
removed from the queue. This will happen if, for example an IP handler finds
time to read a packet from an interface and the interface dequeues the
packet to pass it in.
<p>
A DequeueEvent contains all the Packet Event parameters plus the following
additional ones:
<itemize> 
<item>"Queue Length" (Integer) - The length of the queue in bytes after
dequeueing the packet
</itemize>


<sect1>QueueDropEvent

<p>
A QueueDropEvent is generated if a queue decides it is too full and drops a
packet. The event contains all parameters that every packet event contains
plus in addition:
<itemize>
<item>"Queue Length" (Integer) - The length of the queue in bytes after
dropping the packet
</itemize><p>


<sect1>LinkDropEvent

<p>
A LinkDropEvent is generated when a link goes down (i.e. breaks). As you can
imagine, all packets on the link will be lost. This event has no extra fields,
just the ones that occur in every packet event.


<sect>LinkEvent

<p>
A LinkEvent will be generated whenever a link changes its state (i.e. it either breaks and "goes down" or it starts working again and "goes up"). It contains
the following parameters:
<itemize>
<item>"Source Address" (IPAddr) - The address of the interface that feeds
packets into the link
<item>"Destination Address" (IPAddr) - The address of the interface that receives packets from the link
<item>"State" (Integer) - The new state of the link, either State.UP or State.DOWN, as defined in <bf>jns.util.State</bf>
</itemize>

<sect>Closing Words

<p>
This is the complete list of events you may find in the version of JNS that
carried this file. If someone modified the code of JNS and did not add their
own event in here, it is most likely not documented at all.

<p>
You are encouraged to add your own events to JNS in order to find out more
about the network, but scribble down the contents and exact format somewhere
so you (and anyone else) will know what is in there later. Even better, why
not add an entry to this file?

</article>





?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产白丝精品91爽爽久久| 精品日韩一区二区| 精品国一区二区三区| 中文字幕在线一区| 日韩精品亚洲一区| 一本一道波多野结衣一区二区| 精品国产自在久精品国产| 亚洲婷婷在线视频| 美女网站视频久久| 欧美日韩欧美一区二区| 亚洲欧美日韩在线播放| 成人综合在线观看| 国产欧美精品一区aⅴ影院| 日本在线不卡一区| 欧美日韩中字一区| 亚洲免费观看高清在线观看| 99综合电影在线视频| 久久精品无码一区二区三区| 久久99久久精品| 欧美剧情片在线观看| 亚洲一区二区av在线| 欧美综合一区二区| 亚洲精品中文在线影院| 91视频免费播放| 亚洲四区在线观看| 在线视频中文字幕一区二区| 亚洲天堂久久久久久久| 不卡一区二区三区四区| 亚洲欧美一区二区在线观看| www.爱久久.com| 中文字幕综合网| 在线视频欧美精品| 三级欧美韩日大片在线看| 欧美酷刑日本凌虐凌虐| 蜜桃视频在线观看一区| 日韩欧美一二区| 国产毛片一区二区| 国产精品久久久爽爽爽麻豆色哟哟| 国产人成一区二区三区影院| 国产麻豆成人传媒免费观看| 精品国产乱码久久久久久1区2区 | 精品日韩欧美在线| 日本aⅴ亚洲精品中文乱码| 欧美丰满高潮xxxx喷水动漫| 奇米一区二区三区| 久久天天做天天爱综合色| 福利91精品一区二区三区| 亚洲三级在线播放| 欧美午夜不卡视频| 六月丁香婷婷久久| 国产精品色噜噜| 欧美在线影院一区二区| 日本网站在线观看一区二区三区 | 久久女同精品一区二区| 国产suv精品一区二区三区| 国产区在线观看成人精品| 91视频免费观看| 日韩极品在线观看| 久久精品视频免费| 99久久精品情趣| 婷婷久久综合九色综合伊人色| 国产suv一区二区三区88区| 国产精品福利电影一区二区三区四区| 蜜桃av一区二区三区| 国产亚洲成av人在线观看导航| 亚洲大片免费看| 欧美电影免费提供在线观看| 东方欧美亚洲色图在线| 亚洲va欧美va人人爽| 中文av一区二区| 欧美精品tushy高清| 成人av动漫在线| 激情五月激情综合网| 亚洲美女区一区| 2021久久国产精品不只是精品| 日韩精彩视频在线观看| 成人欧美一区二区三区| 日韩一区二区三区四区五区六区 | 日韩av在线免费观看不卡| 久久久精品影视| 色94色欧美sute亚洲线路一久| 国产精品二区一区二区aⅴ污介绍| 国产一区二区三区四区五区美女| 91精品国产综合久久蜜臀| 成人动漫一区二区三区| 麻豆精品一区二区| 亚洲五月六月丁香激情| 久久久不卡网国产精品一区| 色综合天天综合网天天看片| 国产剧情一区二区三区| 日韩av网站在线观看| 一区二区在线观看av| 欧美一级在线观看| 91在线精品一区二区三区| 国产乱理伦片在线观看夜一区| 亚洲女同ⅹxx女同tv| 久久久影视传媒| 精品久久久久久亚洲综合网 | 久久蜜臀中文字幕| 7777女厕盗摄久久久| 色噜噜狠狠成人网p站| 不卡一区二区中文字幕| 国产精品自拍在线| 国产盗摄一区二区| 国产成人aaa| 国产麻豆9l精品三级站| 国产主播一区二区三区| 国精产品一区一区三区mba桃花| 日本v片在线高清不卡在线观看| 亚洲成a人在线观看| 亚洲成年人影院| 日本三级亚洲精品| 日韩影视精彩在线| 青青国产91久久久久久| 蜜臀精品久久久久久蜜臀| 久久精品999| 极品瑜伽女神91| 国产成人一级电影| 成人免费毛片片v| 成人午夜在线视频| av在线不卡观看免费观看| 91小视频在线| 欧美亚洲另类激情小说| 欧美日韩国产乱码电影| 欧美一区二区三区不卡| 日韩一区二区三区视频在线| 欧美zozo另类异族| 久久久九九九九| 亚洲视频一区二区在线| 亚洲一区免费观看| 奇米精品一区二区三区四区| 国产一区在线看| 91在线高清观看| 欧美日本一区二区三区| 日韩女优毛片在线| 国产精品青草综合久久久久99| 最新日韩av在线| 五月天婷婷综合| 国产福利一区二区三区视频 | 精品少妇一区二区三区日产乱码| 精品国产乱码久久久久久久久| 欧美国产日韩亚洲一区| 亚洲综合在线电影| 久久66热re国产| 色成人在线视频| 2020日本不卡一区二区视频| 《视频一区视频二区| 免费在线看成人av| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 日韩一级黄色片| 日本一区二区成人| 亚洲国产毛片aaaaa无费看 | 亚洲电影你懂得| 国产中文字幕精品| 欧美性欧美巨大黑白大战| 久久蜜桃av一区二区天堂| 亚洲一区二区免费视频| 国产精品69久久久久水密桃| 欧美美女喷水视频| 中文字幕巨乱亚洲| 视频在线观看91| 91免费版在线| 日本一区二区免费在线| 七七婷婷婷婷精品国产| 色综合久久中文综合久久牛| wwwwxxxxx欧美| 日本不卡的三区四区五区| 色视频成人在线观看免| 国产日产精品一区| 蜜臀久久久久久久| 色播五月激情综合网| 中文字幕成人在线观看| 麻豆国产精品777777在线| 欧美伊人久久大香线蕉综合69 | 精品久久久久久最新网址| 亚洲一区二区在线播放相泽| 成人h动漫精品一区二区| 精品国产自在久精品国产| 亚洲成人动漫一区| 欧美色偷偷大香| 悠悠色在线精品| 91亚洲男人天堂| 亚洲欧美影音先锋| 成人免费观看视频| 国产欧美综合在线观看第十页| 精品在线免费观看| 日韩欧美自拍偷拍| 视频一区国产视频| 欧美精品高清视频| 日韩中文字幕av电影| 欧美日韩精品一区二区三区蜜桃 | 国产精品美女一区二区在线观看| 久久草av在线| 日韩欧美一区二区视频| 青青草97国产精品免费观看 | 国产精品美女久久久久av爽李琼| 国产一区二区导航在线播放| 日韩免费一区二区| 毛片av中文字幕一区二区| 欧美va天堂va视频va在线|