PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/protocols/ss7/m3ua/api/src/main/java/org/mobicents/protocols/ss7/m3ua/parameter/ProtocolData.java

http://mobicents.googlecode.com/
Java | 79 lines | 10 code | 8 blank | 61 comment | 0 complexity | c4e62b23f07556c9c0e410fa14503996 MD5 | raw file
 1/*
 2 * JBoss, Home of Professional Open Source
 3 * Copyright 2011, Red Hat, Inc. and individual contributors
 4 * by the @authors tag. See the copyright.txt in the distribution for a
 5 * full listing of individual contributors.
 6 *
 7 * This is free software; you can redistribute it and/or modify it
 8 * under the terms of the GNU Lesser General Public License as
 9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */
22
23package org.mobicents.protocols.ss7.m3ua.parameter;
24
25/**
26 * Protocl data parameter.
27 * 
28 * @author kulikov
29 */
30public interface ProtocolData extends Parameter {
31	/**
32	 * Gets origination point code.
33	 * 
34	 * @return point code value in decimal format.
35	 */
36	public int getOpc();
37
38	/**
39	 * Gets destination point code
40	 * 
41	 * @return point code value in decimal format
42	 */
43	public int getDpc();
44
45	/**
46	 * Gets the service indicator.
47	 * 
48	 * @return service indicator value.
49	 */
50	public int getSI();
51
52	/**
53	 * Gets the network indicator.
54	 * 
55	 * @return the network indicator value.
56	 */
57	public int getNI();
58
59	/**
60	 * Gets the message priority.
61	 * 
62	 * @return message priority value.
63	 */
64	public int getMP();
65
66	/**
67	 * Gets the signaling link selection.
68	 * 
69	 * @return the signaling link selection value
70	 */
71	public int getSLS();
72
73	/**
74	 * Gets the payload of message.
75	 * 
76	 * @return binary message.
77	 */
78	public byte[] getData();
79}