Examples of IdentifyResponse


Examples of bluffinmuffin.protocol.commands.lobby.training.IdentifyResponse

    public boolean identify(String name)
    {
        m_playerName = name;
        send(new IdentifyCommand(m_playerName));
        final StringTokenizer token = receiveCommand(IdentifyResponse.COMMAND_NAME);
        final IdentifyResponse response = new IdentifyResponse(token);
        return response.isOK();
    }
View Full Code Here

Examples of org.fao.oaipmh.responses.IdentifyResponse

  //---
  //---------------------------------------------------------------------------

  public AbstractResponse execute(AbstractRequest request, ServiceContext context) throws Exception
  {
    IdentifyResponse res = new IdentifyResponse();
    SettingInfo      si  = context.getBean(SettingInfo.class);

    String baseUrl = si.getSiteUrl() + context.getBaseUrl() +"/"+ Jeeves.Prefix.SERVICE +"/en/"+ context.getService();

    res.setRepositoryName(si.getSiteName());
    res.setBaseUrl(baseUrl);
    res.setEarliestDateStamp(getEarliestDS(context));
    res.setDeletedRecord(DeletedRecord.NO);
    res.setGranularity(Granularity.LONG);
    res.addAdminEmail(si.getFeedbackEmail());

    return res;
  }
View Full Code Here

Examples of org.fao.oaipmh.responses.IdentifyResponse

  public IdentifyResponse execute() throws   IOException, OaiPmhException, JDOMException,
                              SAXException, Exception
  {
    Map<String, String> params = new HashMap<String, String>();

    return new IdentifyResponse(sendRequest(params));
  }
View Full Code Here

Examples of org.hxzon.asn1.mms.sequence.IdentifyResponse

        case Tag.CONTEXT | 0:
            return new StatusResponse().init("status", "status", tag, stream);
        case Tag.CONTEXT | 1:
            return new GetNameListResponse().init("getNameList", "getNameList", tag, stream);
        case Tag.CONTEXT | 2:
            return new IdentifyResponse().init("identify", "identify", tag, stream);
        case Tag.CONTEXT | 3:
            //Rename-Response ::= NULL
            return Asn1Utils.createBerNull("rename", "rename", tag, stream);
        case Tag.CONTEXT | 4:
            return new ReadResponse().init("read", "read", tag, stream);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.