?? smsunbindresp.cs
字號:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: SMSUnBindResp.java
using System;
namespace com.sms.sgip.data
{
// Referenced classes of package com.sms.sgip.data:
// SMSData, SgipException
public class SMSUnBindResp:SMSData
{
public SMSUnBindResp()
{
}
//UPGRADE_TODO: Class“java.io.DataInputStream”被轉換為具有不同行為的 'System.IO.BinaryReader'。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
//UPGRADE_NOTE: Synchronized 關鍵字已從方法“read”中移除。添加了鎖定表達式。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1027'"
public override void read(System.IO.BinaryReader m_is)
{
lock (this)
{
int i = 0;
sbyte[] head1 = new sbyte[4];
head1[0] = (sbyte) m_is.ReadByte();
head1[1] = (sbyte) m_is.ReadByte();
head1[2] = (sbyte) m_is.ReadByte();
head1[3] = (sbyte) m_is.ReadByte();
messageLength = (head1[0] & 0xff) << 24 | (head1[1] & 0xff) << 16 | (head1[2] & 0xff) << 8 | head1[3] & 0xff;
sbyte[] head2 = new sbyte[4];
head2[0] = (sbyte) m_is.ReadByte();
head2[1] = (sbyte) m_is.ReadByte();
head2[2] = (sbyte) m_is.ReadByte();
head2[3] = (sbyte) m_is.ReadByte();
commandID = (head2[0] & 0xff) << 24 | (head2[1] & 0xff) << 16 | (head2[2] & 0xff) << 8 | head2[3] & 0xff;
sbyte[] head3 = new sbyte[4];
head3[0] = (sbyte) m_is.ReadByte();
head3[1] = (sbyte) m_is.ReadByte();
head3[2] = (sbyte) m_is.ReadByte();
head3[3] = (sbyte) m_is.ReadByte();
seqAddr = (head3[0] & 0xff) << 24 | (head3[1] & 0xff) << 16 | (head3[2] & 0xff) << 8 | head3[3] & 0xff;
sbyte[] head4 = new sbyte[4];
head4[0] = (sbyte) m_is.ReadByte();
head4[1] = (sbyte) m_is.ReadByte();
head4[2] = (sbyte) m_is.ReadByte();
head4[3] = (sbyte) m_is.ReadByte();
seqDate = (head4[0] & 0xff) << 24 | (head4[1] & 0xff) << 16 | (head4[2] & 0xff) << 8 | head4[3] & 0xff;
sbyte[] head5 = new sbyte[4];
head5[0] = (sbyte) m_is.ReadByte();
head5[1] = (sbyte) m_is.ReadByte();
head5[2] = (sbyte) m_is.ReadByte();
head5[3] = (sbyte) m_is.ReadByte();
sequence = (head5[0] & 0xff) << 24 | (head5[1] & 0xff) << 16 | (head5[2] & 0xff) << 8 | head5[3] & 0xff;
}
}
//UPGRADE_TODO: Class“java.io.DataOutputStream”被轉換為具有不同行為的 'System.IO.BinaryWriter'。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataOutputStream'"
//UPGRADE_NOTE: Synchronized 關鍵字已從方法“write”中移除。添加了鎖定表達式。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1027'"
public virtual void write(System.IO.BinaryWriter m_os)
{
lock (this)
{
int i = 0;
int j = 0;
messageLength = 29;
commandID = unchecked((int) 0x80000001);
sbyte[] b = new sbyte[messageLength];
sbyte[] head1 = getInteger4(messageLength);
sbyte[] head2 = getInteger4(commandID);
sbyte[] head3 = getInteger4(seqAddr);
sbyte[] head4 = getInteger4(seqDate);
sbyte[] head5 = getInteger4(sequence);
i = 0;
for (j = 0; j < head1.Length; j++)
{
b[i] = head1[j];
i++;
}
for (j = 0; j < head2.Length; j++)
{
b[i] = head2[j];
i++;
}
for (j = 0; j < head3.Length; j++)
{
b[i] = head3[j];
i++;
}
for (j = 0; j < head4.Length; j++)
{
b[i] = head4[j];
i++;
}
for (j = 0; j < head5.Length; j++)
{
b[i] = head5[j];
i++;
}
m_os.Write(SupportClass.ToByteArray(b));
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -