Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
briar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julian Dehm
briar
Commits
ebceba28
There was a problem fetching the pipeline summary.
Commit
ebceba28
authored
6 years ago
by
bontric
Browse files
Options
Downloads
Patches
Plain Diff
renaming in mailbox service
parent
42e83e85
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bramble-core/src/main/java/org/briarproject/bramble/mailbox/MailboxServiceImpl.java
+5
-4
5 additions, 4 deletions
.../org/briarproject/bramble/mailbox/MailboxServiceImpl.java
with
5 additions
and
4 deletions
bramble-core/src/main/java/org/briarproject/bramble/mailbox/MailboxServiceImpl.java
+
5
−
4
View file @
ebceba28
...
@@ -71,6 +71,8 @@ public class MailboxServiceImpl implements MailboxService {
...
@@ -71,6 +71,8 @@ public class MailboxServiceImpl implements MailboxService {
if
(
LOG
.
isLoggable
(
INFO
))
if
(
LOG
.
isLoggable
(
INFO
))
LOG
.
info
(
"Starting Mailbox Service"
);
LOG
.
info
(
"Starting Mailbox Service"
);
//NOTE/TODO: Only using LAN connections for now
PrivateMailboxFuture
=
PrivateMailboxFuture
=
schedule
(
new
ConnectPrivateMailboxTask
(
LanTcpConstants
.
ID
,
schedule
(
new
ConnectPrivateMailboxTask
(
LanTcpConstants
.
ID
,
POLLING_INTERVALL
),
POLLING_INTERVALL
),
...
@@ -106,11 +108,10 @@ public class MailboxServiceImpl implements MailboxService {
...
@@ -106,11 +108,10 @@ public class MailboxServiceImpl implements MailboxService {
@Override
@Override
public
void
run
()
{
public
void
run
()
{
// NOTE/TODO: This only establishes a Tor connection for now
DuplexPlugin
plugin
=
DuplexPlugin
torPlugin
=
(
DuplexPlugin
)
pluginManager
.
getPlugin
(
transportId
);
(
DuplexPlugin
)
pluginManager
.
getPlugin
(
transportId
);
if
(
torP
lugin
==
null
)
{
if
(
p
lugin
==
null
)
{
reschedule
();
reschedule
();
return
;
return
;
}
}
...
@@ -147,7 +148,7 @@ public class MailboxServiceImpl implements MailboxService {
...
@@ -147,7 +148,7 @@ public class MailboxServiceImpl implements MailboxService {
LOG
.
info
(
"Connecting to private mailbox"
);
LOG
.
info
(
"Connecting to private mailbox"
);
DuplexTransportConnection
mailBoxConn
=
DuplexTransportConnection
mailBoxConn
=
torP
lugin
.
createConnection
(
entry
.
getValue
());
p
lugin
.
createConnection
(
entry
.
getValue
());
if
(
mailBoxConn
!=
null
)
if
(
mailBoxConn
!=
null
)
mailboxManager
mailboxManager
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment