/protocols/ss7/map/map-api/src/main/java/org/mobicents/protocols/ss7/map/api/MAPProvider.java
http://mobicents.googlecode.com/ · Java · 84 lines · 17 code · 14 blank · 53 comment · 0 complexity · 826a1fbc017c5c410997da8ad299c112 MD5 · raw file
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2011, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
- package org.mobicents.protocols.ss7.map.api;
- import org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessageFactory;
- import org.mobicents.protocols.ss7.map.api.service.lsm.MAPServiceLsm;
- import org.mobicents.protocols.ss7.map.api.service.sms.MAPServiceSms;
- import org.mobicents.protocols.ss7.map.api.service.subscriberInformation.MAPServiceSubscriberInformation;
- import org.mobicents.protocols.ss7.map.api.service.supplementary.MAPServiceSupplementary;
- /**
- *
- * @author amit bhayani
- *
- */
- public interface MAPProvider {
- // public static final int NETWORK_UNSTRUCTURED_SS_CONTEXT_V2 = 1;
- /**
- * Add MAP Dialog listener to the Stack
- *
- * @param mapDialogListener
- */
- public void addMAPDialogListener(MAPDialogListener mapDialogListener);
- /**
- * Remove MAP DIalog Listener from the stack
- *
- * @param mapDialogListener
- */
- public void removeMAPDialogListener(MAPDialogListener mapDialogListener);
- /**
- * Get the {@link MAPParameterFactory}
- *
- * @return
- */
- public MAPParameterFactory getMAPParameterFactory();
- /**
- * Get the {@link MAPErrorMessageFactory}
- *
- * @return
- */
- public MAPErrorMessageFactory getMAPErrorMessageFactory();
-
- /**
- * Get {@link MAPDialog} corresponding to passed dialogId
- *
- * @param dialogId
- * @return
- */
- public MAPDialog getMAPDialog(Long dialogId);
- public MAPServiceSupplementary getMAPServiceSupplementary();
-
- public MAPServiceSms getMAPServiceSms();
-
- public MAPServiceLsm getMAPServiceLsm();
-
- public MAPServiceSubscriberInformation getMapServiceSubscriberInformation();
- }