📄 msnconnectionimpl.java
字号:
/* * Copyright 2004-2005 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */package net.sf.jml.impl;import net.sf.jml.MsnConnection;import net.sf.jml.MsnConnectionType;/** * @author Roger Chen */public class MsnConnectionImpl implements MsnConnection { private String remoteIP; private int remotePort = -1; private String internalIP; private int internalPort = -1; private String externalIP; private int externalPort = -1; private MsnConnectionType connectionType; public String getExternalIP() { return externalIP; } public void setExternalIP(String externalIP) { this.externalIP = externalIP; } public int getExternalPort() { return externalPort; } public void setExternalPort(int externalPort) { this.externalPort = externalPort; } public String getInternalIP() { return internalIP; } public void setInternalIP(String internalIP) { this.internalIP = internalIP; } public int getInternalPort() { return internalPort; } public void setInternalPort(int internalPort) { this.internalPort = internalPort; } public String getRemoteIP() { return remoteIP; } public void setRemoteIP(String remoteIP) { this.remoteIP = remoteIP; } public int getRemotePort() { return remotePort; } public void setRemotePort(int remotePort) { this.remotePort = remotePort; } public MsnConnectionType getConnectionType() { return connectionType; } public void setConnectionType(MsnConnectionType connectionType) { this.connectionType = connectionType; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -