83 lines
3.1 KiB
HTML
Executable File
83 lines
3.1 KiB
HTML
Executable File
<!DOCTYPE HTML>
|
|
<meta charset="utf-8" />
|
|
<html>
|
|
|
|
<head>
|
|
<title>Websockets</title>
|
|
<style>
|
|
th {
|
|
text-align: left;
|
|
}
|
|
|
|
table {
|
|
text-align: left;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
<script type="text/javascript" src="js/websocket.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Websocket Sniffer</h1>
|
|
<!-- divFunctions -->
|
|
<hr>
|
|
<table style="width:40.5%" id="HeaderTable">
|
|
<tr id="HeaderTableRow">
|
|
<td>
|
|
<div id="WebSocketStart">
|
|
<input type="button" id="create" value="Connect to Server" onclick="WebSocketTest()">
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<form>
|
|
<input type="text" value="localhost:2080" id="ipadresse" />
|
|
</form>
|
|
</td>
|
|
<td>
|
|
<div id="Serverconnect">
|
|
<font color="red">
|
|
Server: not connected
|
|
</font>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
<!-- Alle ISM-Anfragen der ICD senden-->
|
|
<div id="divFunctions">
|
|
<h2>getEssentials</h2>
|
|
<input type="button" id="sendGetEssentials" value="Send getEssentials" onclick="sendGetEssentials()">
|
|
|
|
<h2>mountTags</h2>
|
|
<input type="button" id="sendMountTags" value="Send mountTags" onclick="sendMountTags()">
|
|
|
|
|
|
<h2>getAssets</h2>
|
|
<input type="button" id="sendGetAssets" value="Send getAssets" onclick="sendGetAssets()">
|
|
|
|
<h2>getPlannedMounting</h2>
|
|
<input type="button" id="sendGetPlannedMounting" value="Send getPlannedMounting" onclick="sendGetPlannedMounting()">
|
|
|
|
<h2>getObjectMounting</h2>
|
|
<input type="button" id="sendGetObjectMounting" value="Send getObjectMounting" onclick="sendGetObjectMounting()">
|
|
<hr>
|
|
<h1>ServiceInformations: port 7300<h1>
|
|
<h2>servicePortsInformationRequest</h2>
|
|
<input type="button" id="servicePortsInformationRequest" value="Send servicePortsInformationRequest" onclick="servicePortsInformationRequest()"> <br>
|
|
<h3>An den Port ppm, ports typeId:2 folgenden Request schicken:</h3>
|
|
<input type="button" id="baseDlRequest" value="Send baseDlRequest" onclick="baseDlRequest()"> <br>
|
|
<input type="button" id="pdfListRequest" value="Send pdfListRequest" onclick="pdfListRequest()"> <br>
|
|
|
|
<h1>AVS-Event: Port 1234<h1>
|
|
<h2>send Open Stream</h2>
|
|
<input type="button" id="sendAvsOpen" value="Send sendAvsOpen" onclick="sendAvsOpen()">
|
|
|
|
<h2>send End Stream</h2>
|
|
<input type="button" id="sendAvsEndEnd" value="Send sendAvsEndEnd" onclick="sendAvsEndEnd()">
|
|
</div>
|
|
<p id="receivedMessages">
|
|
|
|
|
|
</html>
|