📄 irlmpconnection.java
字号:
/*
**************************************************************************
** $Header: /cvsroot/jred/jred/src/com/synchrona/jred/IrLMPConnection.java,v 1.2 2000/07/29 20:29:29 mpatters Exp $
**
** Copyright (C) 2000 Synchrona, Inc. All rights reserved.
**
** This file is part of JRed, a 100% Java implementation of the IrDA
** infrared communications protocols.
**
** This file may be distributed under the terms of the Synchrona Public
** License as defined by Synchrona, Inc. and appearing in the file
** LICENSE included in the packaging of this file. The Synchrona Public
** License is based on the Q Public License as defined by Troll Tech AS
** of Norway; it differs only in its use of the courts of Florida, USA
** rather than those of Oslo, Norway.
**************************************************************************
*/
package com.synchrona.jred;
import com.synchrona.jred.irlap.ConnectionInformation;
public class IrLMPConnection {
private byte m_dstLsap; // destination LSAP
private ConnectionInformation m_irlapConnection;
private byte m_srcLsap; // source LSAP
public IrLMPConnection(IrLMP irlmp, byte dstLsap, byte srcLsap, ConnectionInformation irlapConnection) {
m_dstLsap = dstLsap;
m_irlapConnection = irlapConnection;
m_srcLsap = srcLsap;
}
public ConnectionInformation getIrLAPConnection() {
return m_irlapConnection;
}
public byte getDestinationLsap() {
return m_dstLsap;
}
public byte getSourceLsap() {
return m_srcLsap;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -